#smtp server for website

1 messages · Page 1 of 1 (latest)

lean stream
#

Im having trouble finding a good and free way to send emails from my flask api. This is for commercial use btw.

digital gust
#

free way? nope, that would mean spam

#

cheap way? yes, godaddy and a PHP sendmail back-end

#

another cheap way?
use your home IP as a mail server,
but will be probably blacklisted as a SPAM range by your ISP

#

another way, use gmail and some API interface

lean stream
#

i dont mind it to be spam

#

the emails are all going to be send to myself

#

i tried sendgrid but it does not work for some reason

#

i do not get an error message but the email is never sent

digital gust
#

try gmail

#

I have code for gmail API in Java, not so sure about Python3

#

it's not SMTP, it's something else, but it works

#

otherwise, your local web server with python should have a sendmail, exim, postfix relay

lean stream
#

is this method free?

#

or do i have to pay google for their services?

digital gust
#

free

#

but you must host your backend somewhere

lean stream
#

i plan to host it on railway

#

will that work?

digital gust
#

maybe

robust prism
#

Free version of SendGrid is the best I have used for most cases. Only with some corporate environment that are locked down you need to upgrade to have DKIM etc - so you can mail through their gateway.

I found with government hospital I could not reliably use SendGrid tho, so I had to use application password for a Gmail business account using google SMTP through that.