Hi, I want my website to send emails.
I have tried (in db.py) mail.settings.server = 'smtp.gmail.com:587' # your SMTP server mail.settings.sender = '[email protected]' # your email mail.settings.login = '[email protected]:mygmailpassword' # your credentials or None and mail.settings.server = '127.0.0.1' # your SMTP server mail.settings.sender = '[email protected]' # your email mail.settings.login = None # your credentials or None In both cases I got the message *WARNING:web2py:Mail.send failure:STARTTLS extension not supported by server.* Pure Python works fine: # python2.7 >>> import smtplib >>> server = smtplib.SMTP('127.0.0.1') >>> server.sendmail('[email protected]','[email protected]','test') Operating system: CentOS What shall I do? With kind regards Martin

