Back

Get text of a verification email without SMTP server on localhost?

  • 0
  • Accounts
jSnake🐍🕊
14 May, 2023, 02:13

I want to test the signup, recover, etc features on a localhost instance, is there an easy way to grab the link/token without actually sending an email?

Is there an email queue that i can check to grab the url and secret token?

TL;DR
The user wants to grab the URL and secret token from a verification email without actually sending an email on a localhost instance. One solution is to set the SMTP host to a non-empty string and then check the mail worker container logs. Additionally, the user can also check for an email queue to grab the URL and secret token.
Drake
14 May, 2023, 02:17

Yes, youll need to set the SMTP host to some non empty string and then you can look at the mail worker container logs

jSnake🐍🕊
14 May, 2023, 02:18

awesome, thanks

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more