Support the ongoing development of Laravel.io →
posted 2 years ago
Mail Laravel
Last updated 10 months ago.
1
moderator

Laravel doesn't prevent you from using any plain PHP function. But it also has a more robust setup for sending emails. You can read more about it in the documentation: https://laravel.com/docs/8.x/mail

0

what are the main benefits of using https://laravel.com/docs/8.x/mail eg mailgun vs mail PHP native function ?

Last updated 2 years ago.
0
moderator

You can do everything with the native php mail function. But the mail functions from Laravel can make it more easy to set the output, attachments and more like that. It also makes it easy to switch from mail delivery method (sendmail/smtp/Amazon SES/...) and you have directly support to queue the sending of the mail so the user doesn't have to wait.

0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.