Overview of Laravel Mailable

By: webadmin

If we think of building an application whether it is Portfolio, blog, E-commerce or Marketing. Sending an email through the application is the basic requirement. It may be in the form of contact us page, Newsletter Subscription, Notifications or any other.

Let’s have a piece of basic knowledge on how laravel handles it.

Laravel makes use of the popular SwiftMailer library, which is easy to use and has a variety of email drivers. By default, Laravel uses SMTP mail. but you can also choose from sendmail, mailgun, mandrill, etc.. Wrapper is implemented on top of the SwiftMailer library that makes email management very easy to configure and use at the same time. Default mail settings are configured at config/mail.php
Before laravel introduce “Mailable” class in version 5.3 it was implemented using the Mail::send method like below, which will send the mail at a time. But, what if you have a huge number of users and want to send mail in bulk, if you use the above method will take much time to get processed will result in increased execution time.
There is a way to overcome it by queuing your mail in backend process. and now here laravel introduce Mailable class (for version 5.3 and above) that comes with a way to achieve it using “queue” method.


Mailables are PHP classes in Laravel 5.3 & above that represent a single email. It is responsible for sending emails using a mailer. It’s configured in the config/mail.php file. In fact, Laravel by default provides an artisan command that allows us to create a base template. See the below example we use to generate for NotifyUser mailable class.php artisan make:mail NotifyUserAfter running above command, you will see a file NotifyUser.php in following directory app/Mail.If you open your file named NotifyUser.php, you will get the “build” method within it. All the email-specific configuration will be done in the “build” method of the class.we can call various methods like from(), cc(), bcc(), subject(), view(), attach(), attachData(), etc…
Below is the sample of build method,
Now, whenever we want to send the mail. we can call as below within the controller
Mail::to($user)->send(new NotifyUser);
As I said earlier, In addition to all the above features, you can also use a queue, add cc & bcc and many more.

Queue Feature

For the queue feature to be used, we can use the queue()method on the Mail facade after specifying the message’s recipients. see the below example.
Mail::to($user)->queue(new NotifyUser);
but, we need to configure our queue first before using it. you can set it up using different drivers like database, Amazon SQS or redis. I usually prefer database one as is more convenient for me.
You can also use the later() method if you want to delay the delivery of the queued email.
$when = Carbon\Carbon::now()->addMinutes(20);
Mail::to($user)->later($when, new NotifyUser);

It also provides the feature of localization. In Laravel, you can send mailable in a locale other than the current language, and will even remember this locale if the mail is queued.
Mail::to($user)->locale(‘es’)->send(new NotifyUser($infodata));


So, after all, Mailable is not rocket science to be used. But definitely, it makes our job much easier where emails are the primary medium of user-interaction for any application.
If you have any query, we are here for you to assist you. We have an efficient team of Laravel developers that can take you to achieve amazing experience with your Web/Mobile application development with the quality product in a cost-effective way.Take a tour for the services provided by us and get in touch.


How to find your iPhone/iPad UDID?

By: webadmin

Every iPhone, iPod Touch and iPad has a unique identifier number associated with it, known as UDID(Unique Device ID). UDID is a 40 digit sequence of letters and numbers that look like this:

Finding Your UDID Using iTunes

1. Connect your iPhone/iPad to a computer via USB and open iTunes.

2. Click its name under the devices list. Ensure you’re on the Summary tab.

3. Click on the text that says Serial Number. It should change to say Identifier(UDID).

4. Select Copy from the Edit Menu. Your UDID is now in the clipboard,so you can paste it into an email or message.

Download and Install iTunes for Windows

1. Launch you favourite web browser from the start menu, Taskbar or Desktop. Navigate to

2.Click download and click Get if from Microsoft.

3.Microsoft Store will open and install iTunes.

Find UDID Without iTunes

1.Open the site in Safari on your iPhone or ipad.

2. Allow the permission to download the Configuration file.

3. Review the Profile Downloaded in Setting App.

4.Install the Profile.

5.Enter Your Passcode.

6.Click Install.

7.Now your UDID is in front of you.


Recognized as Top Developers by Clutch

By: webadmin

TridhyaTech is a full-service software development company that caters its services to eCommerce, web, and mobile application development. We believe in technological empowerment and provide end-to-end tech solutions to build an effective digital presence.

Headquartered in Ahmedabad, we serve a global clientele by helping them revolutionize the idea of their business through the medium of the web.

If your company is to become successful in today’s markets, you must be able to leverage the power of the internet to gain access to and engage a large portion of your potential clients. We believe that any company can benefit from increased visibility on the web, and whether you are looking out for a top-notch expert with niche industry insight or a groundbreaking team with diverse technology pros, we have got you covered.

Clutch, a B2B ranking and reviews site to connects businesses with the best-fit agencies or consultants for their specific needs, has recognized Tridhya Tech in their 2019 report as one of the top app developers in Ahmedabad, India.

Clutch analyses thousands of firms based on a unique methodology that evaluates a firm’s technical capabilities, market presence, and in-depth client reviews. Clutch covers a vast majority ofservices from IT to advertising and marketing and ranks service providers based on a range offactors including past clients and experience, verified client reviews, and market presence.

“India is a hub for development companies, and the fact that these companies were able to setthemselves apart is quite an impressive feat,” said Alaina Stevenson, a Senior Business Analystat Clutch. “With more and more developers entering the space every day, and the amount ofdevelopment technologies that exist, being able to specialize yourself as a leader is amazing.These companies deliver on their services and their vast reviews and portfolio items prove thatthey deserve to be a leader.”

Likewise, our success expands beyond Clutch to its sister-website, The Manifest where we are ranked among the top 40 drupal developers in India. The Manifest is

unique in that it provides business news, how-to guides, and industry reports and other metrics to help businesses narrow their search for their next business partner. Here is a preview of our profile on the Manifest.

Clutch’s other sister site, visual Objects is a portfolio platform designed for creative agencies to display their work so that businesses can visualize a future project before making a hire. Top digital marketing agencies are listed on the website alongside their portfolio items. We are thankful not only to have a plethora of portfolio work featured on their site, but also to be listed as one of the top app development companies in India.

Our team of IT professionals have a tech-savvy bone and are passionate about driving a change owing to their love for what they do.We would like to thank our amazing clients for their incredible support, and Clutch for
recognizing us for another year of creative success. We look forward to continuing this success in the years to come!