Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the use of Laravel - Sending Email ?



What is the use of Laravel - Sending Email ?..

Answer / surbhi

Laravel uses free feature-rich library SwiftMailer to send emails.
Using the library function, we can easily send emails without too many hassles.
The e-mail templates are loaded in the same way as views, which means you can use the Blade syntax and inject data into your templates.

Syntax : void send(string|array $view, array $data, Closure|string $callback)


The default type is HTML. If you want to send plain text mail then use the following syntax.

Syntax : Mail::send([‘text’=>’text.view’], $data, $callback);

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

Is it easy to learn laravel?

0 Answers  


How to Declaration of namespace ?

1 Answers  


Explain extending bindings?

0 Answers  


What is attribute casting and how does it work in eloquent?

0 Answers  


How to Deleting Session Data in Laravel ?

1 Answers  


How to do dependency injection in laravel controllers?

0 Answers  


What is named route?

0 Answers  


How can you write your own service provider in laravel.

0 Answers  


What are the difference between latest() and oldest() in laravel?

0 Answers  


What is query scope?

0 Answers  


How to use stored procedures in laravel?

0 Answers  


How to serve sites on valet?

0 Answers  


Categories