Gmail SMTP in Django
franklinson
PROOP

10 months ago

Hi

I used smtp.gmail.com with email port 587 but keep getting OSError: [Errno 101] network is unreachable but this same configuration works on my local host. Please need help

45 Replies

irazvan2745
FREE

10 months ago

emails are only allowed on the pro plan and up


franklinson
PROOP

10 months ago

Wait you mean I can use gmail smtp in env file?


irazvan2745
FREE

10 months ago

what plan are you on?


franklinson
PROOP

10 months ago

Basic


irazvan2745
FREE

10 months ago

Yea


irazvan2745
FREE

10 months ago

railway doesnt allow emails on that plan


irazvan2745
FREE

10 months ago

its to avoid spam


irazvan2745
FREE

10 months ago

as they get their ips marked as abuse


irazvan2745
FREE

10 months ago

and need to appeal them blah blah


franklinson
PROOP

10 months ago

But I am not using railway as smtp but I am using gmail smtp


franklinson
PROOP

10 months ago

I need to understand this very well


irazvan2745
FREE

10 months ago

yes, they dont allow smtp at all on that plan


franklinson
PROOP

10 months ago

Still not getting it. Cause I am connecting to gmail’s smtp on their sever how is that an issue?


irazvan2745
FREE

10 months ago

its not gmail


irazvan2745
FREE

10 months ago

thye dont allow ANY smtp


irazvan2745
FREE

10 months ago

in or out


franklinson
PROOP

10 months ago

Wow


irazvan2745
FREE

10 months ago

its to prevent spam


irazvan2745
FREE

10 months ago

i get tens of spam emails daily


irazvan2745
FREE

10 months ago

all from gmail accounts


franklinson
PROOP

10 months ago

So do I have to use aws or they block that to?


irazvan2745
FREE

10 months ago

you need to upgrade your plan to the pro plan


franklinson
PROOP

10 months ago

Damn this is bad


irazvan2745
FREE

10 months ago

?


irazvan2745
FREE

10 months ago

its


irazvan2745
FREE

10 months ago

$20


franklinson
PROOP

10 months ago

$20 is a lot of money for small project


irazvan2745
FREE

10 months ago

not rllly


irazvan2745
FREE

10 months ago

uh


irazvan2745
FREE

10 months ago

you can use resend maybe?


franklinson
PROOP

10 months ago

Resend not same as other mail servers?


irazvan2745
FREE

10 months ago

it is


irazvan2745
FREE

10 months ago

its just


irazvan2745
FREE

10 months ago

not smtp


irazvan2745
FREE

10 months ago

its "RESTful smtp"


franklinson
PROOP

10 months ago

I will check and see


dztravelcompany
HOBBY

10 months ago

Hi, I'm having the same issue, the railway has been blocking email sending functionality of my web app for a week, is there any other solution to fix this issue other than upgrading my account to a pro plan, like using SendGrid or Mailgun?


dztravelcompany

Hi, I'm having the same issue, the railway has been blocking email sending functionality of my web app for a week, is there any other solution to fix this issue other than upgrading my account to a pro plan, like using SendGrid or Mailgun?

irazvan2745
FREE

10 months ago

You can use resend which is restful and have an sdk for pretty much every major framework and language


dztravelcompany
HOBBY

10 months ago

is it safe?


irazvan2745
FREE

10 months ago

obviously? lmfao, they are aws ses resellers


10 months ago

Resend is extremely safe and well known. I use them and love it


andremaytorena
PRO

10 months ago

Wait SMTP outbound is allowed on the pro plan?


10 months ago

Another +1 for Resend, they're great. They're also built on Railway, if I recall correctly.


10 months ago

They are!


9 months ago

For transparency, they are not.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...