3 months ago
Hi!
I had deployed multiple environments with nodemailer using mailtrap as the smtp server.
For weeks, everything was working. I haven't changed a thing regarding that process, then today I get 'Connection error: Error: Connection timeout' on my development environment when I push in a few completely unrelated changes. A few of the environments (production and test) haven't encountered this error yet, so I duplicated them to see if the error would appear and it did!
Currently, I can't send emails vital to website flow in development and I'm scared to push anything to the unhindered environments (production and test) until I figure out what the hell is going on.
The crazy part is, it works locally! Now I've googled the hell out of this. Is this a Railway issue? Or should I contact MailTrap to see what's up? Why isn't this working? Why did it randomly stop working?? 🙃
Thanks!
2 Replies
Alright people! For anyone else who spent hours on this. The Hobby Plan just recently stopped supporting SMTP outbound traffic.
3 months ago
I’m facing the same issue, my setup with Nodemailer was working fine before, but recently I started getting the same connection timeout error on Railway. Has anyone found a workaround or solution for this?
3 months ago
ok found the reason https://station.railway.com/questions/request-to-allow-outbound-smtp-to-smtp-r-e737771f#m2ph
Outbound SMTP is only available on the Pro plan and above, while Free, Trial, and Hobby plans have SMTP disabled.
For sending emails from your application, please use a dedicated email service that provides HTTPS APIs. More information can be found in our documentation:
3 months ago
!s
Status changed to Solved brody • 3 months ago