3 months ago
I need outbound port 587 unblocked on my Railway service to send SMTP email via smtp.office365.com for transactional emails (password resets, notifications). The connection works locally but times out from Railway. Your prompt assistance would be greatly appreciated
1 Replies
3 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 3 months ago
3 months ago
Can you try SSH-ing into your service to see if you're able to reach the Office365 SMTP host?
Right click on your service, then select Copy SSH Command. You'll need Railway CLI installed for this to work. (https://docs.railway.com/cli#installing-the-cli)
I'd also make sure you're passing all the required variables (host, port, username, password) into your service for the SMTP to work.