mail.settings.ssl = True mail.settings.tls = True mail.settings.login = True mail.settings.server = 'server:port' # your SMTP server mail.settings.login = 'login:password' # your credentials mail.settings.sender = 'm...@server.com' # your email
This is an SSL mail server. When I try to send an email I get this warning: WARNING:web2py:Mail.send failure:'module' object has no attribute 'SMTP_SSL' and the mail isn't sent.