chisonum liked this thread
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
what are the main benefits of using https://laravel.com/docs/8.x/mail eg mailgun vs mail PHP native function ?
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community