Gmail SMTP in Django
franklinson
FREEOP

3 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

4 Replies

irazvan2745
PRO

3 months ago

emails are only allowed on the pro plan and up


franklinson
FREEOP

3 months ago

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


irazvan2745
PRO

3 months ago

what plan are you on?


franklinson
FREEOP

3 months ago

Basic


irazvan2745
PRO

3 months ago

Yea


irazvan2745
PRO

3 months ago

railway doesnt allow emails on that plan


irazvan2745
PRO

3 months ago

its to avoid spam


irazvan2745
PRO

3 months ago

as they get their ips marked as abuse


irazvan2745
PRO

3 months ago

and need to appeal them blah blah


franklinson
FREEOP

3 months ago

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


franklinson
FREEOP

3 months ago

I need to understand this very well


irazvan2745
PRO

3 months ago

yes, they dont allow smtp at all on that plan


franklinson
FREEOP

3 months ago

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


irazvan2745
PRO

3 months ago

its not gmail


irazvan2745
PRO

3 months ago

thye dont allow ANY smtp


irazvan2745
PRO

3 months ago

in or out


franklinson
FREEOP

3 months ago

Wow


irazvan2745
PRO

3 months ago

its to prevent spam


irazvan2745
PRO

3 months ago

i get tens of spam emails daily


irazvan2745
PRO

3 months ago

all from gmail accounts


franklinson
FREEOP

3 months ago

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


irazvan2745
PRO

3 months ago

you need to upgrade your plan to the pro plan


franklinson
FREEOP

3 months ago

Damn this is bad


irazvan2745
PRO

3 months ago

?


irazvan2745
PRO

3 months ago

its


irazvan2745
PRO

3 months ago

$20


franklinson
FREEOP

3 months ago

$20 is a lot of money for small project


irazvan2745
PRO

3 months ago

not rllly


irazvan2745
PRO

3 months ago

uh


irazvan2745
PRO

3 months ago

you can use resend maybe?


franklinson
FREEOP

3 months ago

Resend not same as other mail servers?


irazvan2745
PRO

3 months ago

it is


irazvan2745
PRO

3 months ago

its just


irazvan2745
PRO

3 months ago

not smtp


irazvan2745
PRO

3 months ago

its "RESTful smtp"


franklinson
FREEOP

3 months ago

I will check and see


dztravelcompany
HOBBY

3 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
PRO

3 months ago

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


dztravelcompany
HOBBY

3 months ago

is it safe?


irazvan2745
PRO

3 months ago

obviously? lmfao, they are aws ses resellers


noahd
EMPLOYEE

3 months ago

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


andremaytorena
PRO

3 months ago

Wait SMTP outbound is allowed on the pro plan?


aleks
HOBBY

3 months ago

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


noahd
EMPLOYEE

3 months ago

They are!


brody
EMPLOYEE

3 months ago

For transparency, they are not.


Loading...