setting up SMTP 2FA
inumaaki
FREEOP

a month ago

Hi, i have been trying to setup an SMTP service for my project so that i can sendout 2FA OTP codes to emails but they are not being received by the users and on research i found out that Railway blocks ports 25, 465, and 587 by default for all accounts to prevent spam. How to fix this or unblock?

Solved

2 Replies

Status changed to Awaiting Railway Response Railway about 1 month ago


a month ago

Hey, as per the documentation, SMTP is only available on the Pro plan and above. One way to circumvent this without upgrading to the Pro plan is to use HTTP email APIs mentioned in the documentation (which I highly recommend to take a look at).


sam-a
EMPLOYEE

a month ago

Hello,

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:

https://docs.railway.com/networking/outbound-networking

Best regards,

The Railway Team


Status changed to Awaiting User Response Railway about 1 month ago


Status changed to Solved sam-a about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...