in db.py mail.settings.server = 'smtp.webfaction.com' mail.settings.sender = 'some email of yours' mail.settings.login = 'user:pwd' # your webfaction name and password, you may change the password for mailboxes from webfaction panel
then from controllers mail.send(to=['y...@whatever.com'], subject='Web2py email', message='Sent with Web2py!') just tested and works