I am having issues getting invite emails sent out to our selfhosted instance.
We deployed on azure and opened up the outbound port 587 and realized that was the port used by mailgun. So we opened up SMTP port 25 for outbound. Still not working. attached image is of the .env file smtp settings.
Thoughts?
Summary
Developers having issues with self-hosted email invites not working. They opened outbound port 587 for Mailgun, then tried port 25 for SMTP in Azure VM networking settings. Invite emails still not sending. Need advice.
Solution: The issue could be related to SMTP server configuration. Check the settings in the .env file to ensure they are correct for sending emails.
Chris Nowicki
Rank 2: Process
Oct 9, 2024, 16:24
Chris Nowicki
Rank 2: Process
Oct 9, 2024, 16:24
we are hosting on azure vm
Chris Nowicki
Rank 2: Process
Oct 9, 2024, 16:24
this is the env settings I have setup for smtp
Chris Nowicki
Rank 2: Process
Oct 9, 2024, 16:25
when I do password reset and / or invite a user to our selfhosted instance emails don't go out?
Chris Nowicki
Rank 2: Process
Oct 9, 2024, 16:25
in azure VM networking settings I opened up outbound port 25
Chris Nowicki
Rank 2: Process
Oct 9, 2024, 16:27
we also have port 587 outbound opened up
Chris Nowicki
Rank 2: Process
Oct 9, 2024, 16:27
Chris Nowicki
Rank 2: Process
Oct 9, 2024, 16:37
I can telnet to mailgun from the VM
Chris Nowicki
Rank 2: Process
Oct 9, 2024, 16:49
some more logs from looking at appwrite-work-mails log