Error: Check username and password
openmanagement
PROOP
7 months ago
Hello everyone
I'm having a problem with my website that stopped sending emails. I've tried everything and can't fix it. The RailWay log shows the following message: SMTP AUTHENTICATION ERROR: (535, b'Authentication Failed'). Check username/password and whether the 'application password' is required.
I've changed the application password about 10 times, deleted the email variables and reconfigured them, removed the website and redeployed it. I've configured app.py in every way I could, but nothing. In local testing, email works normally, but in RailWay, this error message appears. I have a Zoho Mail domain and the settings are as required. Could anyone help?2 Replies
Railway
BOT
7 months ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Verifique usuário/senha e se a 'senha de aplicativo' é necessária.
🧵 Nodemailer SMTP Authentication Issue (Error 535 5.7.8) with Railway Deployment
If you find the answer from one of these, please let us know by solving the thread!
chrishutchison9
PRO
7 months ago
Try using port 465 with ssl instead of tls. Also make sure railway settings have environment variable PORT set to the one you're using.
However, railway mentioned they currently don't allow outbound smtp but 465 isn't blocked yet here: https://station.railway.com/questions/how-can-i-send-mail-from-railway-there-a4db7809