R
Railway10mo ago
bothomas

Trouble sending emails via SMTP

projectId: bb66f5c0-53f9-4e9f-b11f-5965f5d6ec74 serviceId: b3029692-b78a-4487-bcb0-44e001afecb8 I run a NodeJS Express server and use Nodemailer with SMTP transport (Port 465) to send emails to my users. Since 8 September, without any deployments/updates on my side, I have been getting timeouts when trying to send emails: ERROR Send Error: Connection timeout According to the log, the last successful email was sent on 6 September. With the project running locally, sending e-mails works without any problems. Could this be a issue with Railway or do I need to ask my registrar (strato.de) who also runs the SMPT server?
6 Replies
Percy
Percy10mo ago
Project ID: bb66f5c0-53f9-4e9f-b11f-5965f5d6ec74,b3029692-b78a-4487-bcb0-44e001afecb8
Brody
Brody10mo ago
if you are confident you have used the credentials correctly, then you should contact your email provider
bothomas
bothomas10mo ago
Thanks for the reply! I did not change the credentials before the timeouts started. And its working locally with the same credentials. I think something is blocking the communication. I took the chance to try https://resend.com. It works perfectly. If I find the time, I'll bug my registrar 🙂
Resend
Build, test, and send transactional emails at scale.
ARYA
ARYA9mo ago
I am having the same problem smtp working locally but with railway it shows Error: Invalid login: 535-5.7.8 Username and Password not accepted. If got the solution please help me
Brody
Brody9mo ago
Gmail?
ARYA
ARYA9mo ago
yes