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
2 months ago
Yes.
2 months ago
Pro is required for SMTP.
2 months ago
You can use something like Mailtrap or Resend.
2 months ago
Free tiers always have limits. (Even paid tiers do too.)
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
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.
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