Im pulling straight from the book and running on python anywhere, so Im a bit confused:
web2py Shell 2.11.2-stable+timestamp.2015.05.30.16.33.24
In [1] : from gluon.tools import Mail
In [2] : mail = Mail()
In [5] : mail.settings.login = 'a...@gmail.com:b' ==> Alt (Ive used both): In [5] : mail.settings.login = 'a:b'
In [6] : q=mail.send('
jo...@doe.com', 'Message subject', 'Plain text body of the message')
Traceback (most recent call last):
File "......gluon/contrib/shell.py", line 235, in run
exec compiled in statement_module.__dict__
File "<string>", line 1, in <module>
File "....gluon/tools.py", line 437, in send
raise Exception('Server address not specified')
Exception: Server address not specified
Any thoughts?