Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Jeroen van Rensen
Jeroen van Rensen

Posted on • Originally published atjeroenvanrensen.nl

     

How to send free emails using Sendinblue

This post was originally published onmy blog.

Many web applications send emails, for example when someone is registered you want to send them a welcome email. Although you can do it for free using theGmail SMTP server, it is more solid to use a service likeSendinblue.

Besides, using Sendinblue you can send300 emails/day, and using Gmail you're limited to only100 emails/day. Unfortunately, I couldn't find good documentation on how to use Sendinblue with Laravel, but I finally got it working so that's why I'm sharing it with you.

Create a Sendinblue email account

Head over to Sendinblue and create an account. Next, go to your account section and in the left sidebar click SMTP & API. Afterwards click at the SMTP tab and finally copy your secret SMTP key value.

Configuring Laravel

After you grabbed your secret key, go to your .env file in your Laravel application. Next, add these values:

MAIL_MAILER=smtpMAIL_HOST=smtp-relay.sendinblue.comMAIL_PORT=587MAIL_USERNAME=john@gmail.comMAIL_PASSWORD=VAO929swI6sRIoaIMAIL_ENCRYPTION=tlsMAIL_FROM_ADDRESS=john@gmail.comMAIL_FROM_NAME="${APP_NAME}"
Enter fullscreen modeExit fullscreen mode

Be sure to add the email from your Sendinblue account in theMAIL_USERNAME andMAIL_FROM_ADDRESS sections, and your secret SMTP key in theMAIL_PASSWORD section.

That's it! Using Sendinblue you're limited to 300 emails/day on the free plan, and that's more than every other mailing service. If you need to send more emails, their plans start at €19/month or $25/month for 10 000 emails/month.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Hi, I'm Jeroen van Rensen and I'm from the Netherlands. I enjoy making websites using the TALLstack (Tailwind CSS, Alpine JS, Laravel and Livewire)
  • Location
    The Netherlands
  • Joined

More fromJeroen van Rensen

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp