mail.settings.server = 'logging' just writes if the mail is sent on the console, and it's only for debugging purposes.
You should remove that line and leave only mail.settings.server=' smtp.gmail.com:465' to actually send any email. On Monday, July 9, 2012 1:18:49 AM UTC+2, Janath wrote: > > Hi, > > I have very limited emails in configuring email servers. > > I try to used my gmail account to send emails from web2py. > > I used the following settings with my specific information > (as mentioned in the web2py book): > > mail = auth.settings.mailer > mail.settings.server = 'smtp.gmail.com:465' > mail.settings.sender = '[email protected]' > mail.settings.login = '[email protected]:*mypassword*' > mail.settings.server = 'logging' > > > It says mail sent, but I couldnt see it in my account. > > Is this something doable... If this can be configured in a simple way, I > would appreciate some help. > > Thank you > > > >

