A user reports an issue where changing or adding an email address on their Discourse account does not trigger a verification email, despite emails working for other functions. The user sees the email added as pending but no email is sent, and no logs are recorded. The issue is isolated to this specific action, as it works on the meta forum. Other users suggest checking if ‘must approve users’ is enabled, but the user confirms it is not. Further investigation reveals a POST request to /u/<username>/preferences/email succeeds with a 200 response, but no email is sent. The user later discovers the issue is caused by DigitalOcean blocking port 587, which prevents email delivery for this action. kenkendk, Moin, sam, kenkendk
I have a user trying to change their email address on the account, and they never see a verification email. I have no issues with general emails being sent and have regular inflow of users signing up, so email is clearly working, but not for this one case.
However, no email is recorded in the email logs, and no information is logged in the Discourse logs. I checked the email provider as well and no emails appear to hit that either. If I repeat adding the same email, I get multiple entries but never any emails sent.
If I do the same on this forum (the meta-one) it works as expected and I see get the email.
So apparently some setting is incorrect in my instance. Any clues as to why this would happen?