Reputation: 2233
I was trying to send email from my laravel application where i used google SMTP configuaration in my .env. There is google developer API for sending Email also. Which one is better to use for sending Email SMTP or Developer API
from Laravel Application?
Google Developer API (PHP) :
https://developers.google.com/gmail/api/quickstart/php
Upvotes: 1
Views: 542
Reputation: 456
I think if you just need to send an email the best choice is using SMTP, however, if you need to create and send an email at the same time you'll need to able manage mailbox, manage setting etc that will be the case you need to use the Developer API.
Upvotes: 1