Rank 2: Process
how to setup email sending in appwrite instance if it is hosted on digital ocean droplet
Votes
0
Replies
14
Participants
Unknown
Messages
15
Rank 2: Process
how to setup email sending in appwrite instance if it is hosted on digital ocean droplet
If you're referring to Appwrite emails as magic-link, password reset, etc. then there is no way to control them. (without changing Appwrite the code manually)
And there is no way to use Appwrite (for now) email templates and system, so you'll have to send them manually.
What I mean is that all Appwrite SMTP and email settings are to be used only by your Appwrite but only internally
Admin
Ya... clarification would be helpful
Ohh my bad
Rank 2: Process
I mean i have a appwrite instance running on digital ocean
Admin
Huh? My comment was to the original poster (OP)
Rank 2: Process
And i need to set up smtp for it
Admin
No what kind of email are you trying to send
Rank 2: Process
So that i could have email verification of the user account
Yes, but you make me realize I wasn't responding to the correct issue
You'll need to set SMTP option in your .env file
In digitalocean this file should be in /root/appwrite/.env
You can see the specific here
https://appwrite.io/docs/email-delivery
After updating the SMTP values be sure run
docker compose up -dIn the Appwrite folder