Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alexh's avatar
Level 5

Mailing: API based driver or SMTP?

Hello everyone!

I'm creating a simple application that is sending 10 mails in a month. Like for example if a user sends a mail through a contact form and so on.

The laravel documentation is recommending that you should always use an API based mail driver:

"The API based drivers such as Mailgun and SparkPost are often simpler and faster than SMTP servers. If possible, you should use one of these drivers. All of the API drivers ...:"

What would you say? Should you always use an API based driver? Even if you got such a low amount of mails in a month?

Lookin forward to hear from you!!

0 likes
1 reply

Please or to participate in this conversation.