Sending emails with PocketBase is very easy. However, to test emails during development, you have to make PocketBase aware of our mailcatcher
service.
Go to http://local.pocketbase.ranky-list.com/_/#/settings/mail, enable Use SMTP mail server
and edit the following settings :
Setting | Value |
---|---|
SMTP server host | mailcatcher |
Port | 1025 |
TLS encryption | Auto (StartTLS) |
AUTH method | PLAIN (default) |
You are done! You can now go to http://local.mailcatcher.ranky-list.com to see sent emails.
You can send emails to any address, they will always be caught by the mailcatcher
service.
Check the sending emails part of the PocketBase documentation.