Yes, basic emailing is working, and I do have that code in my db.py file.
So if I do mail.send('email', 'title', 'body') it works.
The reason I had so much trouble with this was because I set up my app
using the wizard. The wizard created another file called 0.py (great name)
that was overwritin
To send emails you need to connect an SMTP server. For example, to send
emails using your google mail account
mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'y...@gmail.com'
mail.settings.login = 'y...@gmail.com:password'
Do you have similar code?
2 matches
Mail list logo