How To Set Up Sendinblue SMTP For Pocketbase (Step-By-Step)
Unlock the full potential of your Pocketbase application by setting up an SMTP! With just a few simple steps, you can easily send verification and password reset emails to your users. Learn how to set up sendinblue SMTP for Pocketbase in this step-by-step guide, and start sending emails today!
Why set up an SMTP for Pocketbase?
SMTP is a protocol used to send emails. By setting it up for your Pocketbase application, you can send verification and password reset emails to your users. This improves the user experience and adds an extra layer of security.
To use an SMTP with Pocketbase, you can either use a service like sendinblue, or host your own SMTP Server with Docker. For this guide, we will use sendinblue because it is way easier to set up and free for up to 300 emails daily. And that should be enough for most of our hobby projects 😀
If you want to host your own SMTP server, check this repository here. (In the coming weeks, I will also create a step-by-step guide for that.)
Set up sendinblue SMTP for Pocketbase
- Create an account for sendinblue here (affiliate link).
- Log in to your account
- Click on your Profile and go to “SMTP & API”
- Click on “Generate a new SMTP key”
- Enter a name for the key, for example, “Pocketchat”
- Copy the key. You will need it in the next step
- Go to your Pocketchat Instance and open “Settings” > “Mail Settings”
- Enter the sendinblue data as follows using the information you have in step 4 and using the key as the password (you can also change the support name and sender address):
- After you save the changes, you can send out a test mail to see if it works!
In conclusion, setting up an SMTP for your Pocketbase application is a simple yet effective way to improve the user experience and add an extra layer of security. In this post, you learned how to do so step-by-step using the service sendinblue. You are now able to send out different types of emails, for example, to verify them or to let them reset their password!
Don’t miss out on any updates or future guides by subscribing to my monthly newsletter.