I am trying to send emails in Laravel using the Sendinblue API but the problem is, I don't know how to configure the files (.env file, config/mail file,etc.)
Here are the details that I have (that are registered in sendinblue). I edited some data so that the important details are not visible.
Email address registered in [email protected]
Company/organisation registered in sendinblue -xxxxOrganization
Sendinblue details page 1
Sendinblue details page 2
Other email services have proper Laravel documentations, but since we are testing, we need free email services for a few emails. And we preferred sendinblue for our tests as well.
First, I have to email sendinblue support to Activate Sendinblue SMTP account. Make sure that yours is activated.
Then, here is the config that worked for me:
MAIL_DRIVER=smtp
MAIL_HOST=smtp-relay.sendinblue.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD="master_password_or_smtp_key_value"
MAIL_FROM_ADDRESS="[email protected]"
where: MAIL_USERNAME is the "Login" value in "Your SMTP settings" (not SMTP Key Name) MAIL_PASSWORD is either Master password or SMTP Key Value
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With