[web2py] Re: Sending email with localhost / Postfix

2012-05-26 Thread Massimo Di Pierro
Something is wrong with postfilx configuration. Use a python shell and try the smtplib library directly. I use postfix all the time and nothing has change in those parts of web2py. On Saturday, 26 May 2012 09:24:27 UTC-5, Yarin wrote: I'm trying to send email out of web2py via localhost and

[web2py] Re: Sending email with localhost / Postfix

2012-05-26 Thread Yarin
Got this working on the CentOS server as follows: mail.settings.server = 'localhost:25' mail.settings.sender = 'y...@mail.com' mail.settings.login = None Massimo, please note the book says Set mail.settings.login=False if the SMTP server does not require authentication. This was failing for

Re: [web2py] Re: Sending email with localhost / Postfix

2012-05-26 Thread Jonathan Lundell
On May 26, 2012, at 8:41 AM, Yarin wrote: Got this working on the CentOS server as follows: mail.settings.server = 'localhost:25' mail.settings.sender = 'y...@mail.com' mail.settings.login = None Massimo, please note the book says Set mail.settings.login=False if the SMTP server does