SMTP is getting blocked??
borisdmv
HOBBYOP

2 months ago

I get [ERROR] Failed to send email notification for monitor 4: failed to connect to SMTP server smtp.sender.net:2525: dial tcp 2.57.236.2:2525: connect: connection timed out im trying to use sender.net but it gets blocked I guess why??

17 Replies

2 months 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/reference/outbound-networking

Best regards,

The Railway Team


borisdmv
HOBBYOP

2 months ago

oh god wait is it true i need pro plan for that


2 months ago

Yes.


borisdmv
HOBBYOP

2 months ago

omg just for simple sending mails?


borisdmv
HOBBYOP

2 months ago

I have hobby plan


2 months ago

Pro is required for SMTP.


You can use something like Mailtrap or Resend.


borisdmv
HOBBYOP

2 months ago

Does Mailtrap has limit of mails?


borisdmv
HOBBYOP

2 months ago

oh saw it 150 emails/day


Free tiers always have limits. (Even paid tiers do too.)


richstokes
HOBBY

2 months ago

FWIW you want to use a provider like mailgun/similar for doing the email bit.

Most hosting provider IP ranges are marked as spam by recipient email hosts by default


richstokes
HOBBY

2 months ago

You'd end up with unreliable email sending if you do the SMTP part yourself


2 months ago

If you're running a service that relies on SMTP to send emails, you can work around this by deploying a small relay service. The relay accepts SMTP internally (within Railway's private network, which is not restricted) and forwards the emails through an email provider's HTTP API instead. Since HTTP requests are not blocked, your emails get delivered without needing a Pro plan.


borisdmv
HOBBYOP

2 months ago

which you recommend mailtrap or resend?


borisdmv
HOBBYOP

2 months ago

maybe mailtrap cuz it has extra 50 more per day?


2 months ago

yeah i guess but i use resend for my hobby projekt


2 months ago

are you going to use it for emails verfiy? or what is your plan


Welcome!

Sign in to your Railway account to join the conversation.

Loading...