How To Set Up Sendinblue SMTP For Pocketbase (Step-By-Step)

No Comments

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

  1. Create an account for sendinblue here (affiliate link).
  2. Log in to your account
  3. Click on your Profile and go to “SMTP & API”
    set up sendinblue smtp for pocketbase: goto smtp key
  4. Click on “Generate a new SMTP key”
    set up sendinblue smtp for pocketbase: generate smtp key
  5. Enter a name for the key, for example, “Pocketchat”
  6. Copy the key. You will need it in the next step
  7. Go to your Pocketchat Instance and open “Settings” > “Mail Settings”
  8. 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):
    set up sendinblue smtp for pocketbase: sendinblue smtp details in pocketbase
  9. After you save the changes, you can send out a test mail to see if it works!

Conclusion

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.

Discussion (0)

Add Comment

Your email address will not be published. Required fields are marked *