gmail unable to send email

59 views
Skip to first unread message

mostwanted

unread,
May 5, 2019, 5:26:40 AM5/5/19
to web2py-users
I have been using gmail to send verification emails to clients registering for my app but suddenly it is not working, i looked for possible solutions to this problem but none are working and some are working for others but not others, i just wanna know if there is another mailing service i could use for my app and what is the setup process or a way to get gmail to support my application that won't change in the long run as it has today!

Regards;

Mostwanted

jcrm...@gmail.com

unread,
May 5, 2019, 10:59:43 AM5/5/19
to web2py-users
I have this in my appconfig.ini and it works.

; smtp address and credentials[smtp]
server
= smtp.gmail.com:587
sender
= my_email@gmail.com
login  
= my_email@gmail.com:my_pwd
tls    
= true
ssl    
= true

Leonel Câmara

unread,
May 6, 2019, 9:49:33 AM5/6/19
to web2py-users
If you don't send too many emails I recommend using sparkpost as they have a free tier and I made a plugin that makes it really easy to use with web2py

mostwanted

unread,
May 7, 2019, 7:20:26 AM5/7/19
to web2py-users
Thanks guys but this link seems to have solved the problem
I am able to send right now

Regards;

Mostwanted

Dave S

unread,
May 12, 2019, 5:11:10 AM5/12/19
to web2py-users


On Monday, May 6, 2019 at 6:49:33 AM UTC-7, Leonel Câmara wrote:
If you don't send too many emails I recommend using sparkpost as they have a free tier and I made a plugin that makes it really easy to use with web2py


For what its worth, I have been using the local mailserver on the AWS Linux running my production code, and that works very well, although so far it's only had to send to a handful of addresses.  Those addresses are served by gmail, though, and we did have to set up the additional DNS records to keep the messages from being marked as "EVIL".l  We had someone in the office who had done that once before, so it wasn't a terrible pain, but obviously SparkPost is going to handle that for you.

/dps

mostwanted

unread,
May 13, 2019, 10:07:20 AM5/13/19
to web2py-users
hahahah 'being marked as "EVIL"'....I really like your solution, i will give it a try as well.

Mostwanted
Reply all
Reply to author
Forward
0 new messages