Set up PocketBase mail settings over SMTP
PocketBase sends verification, password reset, email change and OTP emails, and by default hands them to the server's `sendmail` command. Switch it to SMTP under **Settings → Mail settings** in the dashboard; the values are stored with your app's settings, so there's no file to edit. The TLS choice sits under **Show more options**: **Auto (StartTLS)** is for 587 and **Always** is for 465.
Create a send-only key
In Unitpost, open Settings → SMTP and create a send-only key. PocketBase's Sender address must be on a verified domain.
Fill in Mail settings
Turn on Use SMTP mail server, then click Show more options to reach the TLS setting.
Sender name Your app Sender address no-reply@yourdomain.com SMTP server host smtp.unitpost.com Port 587 Username unitpost Password Your Unitpost API key TLS encryption Auto (StartTLS) AUTH method PLAIN (default) For port 465, set TLS encryption to Always.
Save and send a test
Click Save changes, then Send test email. Pick a template such as Password reset and an auth collection, enter a To email address and click Send. The message shows up in Unitpost Emails.
If the test fails
535 5.7.8means Username isn'tunitpost.550 5.7.1means Sender address isn't on a verified domain. A timeout on 465 means TLS encryption is still Auto (StartTLS).