Hi Bernado, 2010/12/4 Bernardo Botella Corbí <estem...@gmail.com>
> Hi Miguel, > > which test did you do from command line? > does web2py print something? Any error? > > Try to do the next thing from the command line: > tail -f /var/log/mail.log > If I try to send mail from web2py using local resources it fails silently. I can use a gmail account to send the email it works, so perhaps I'm configuring gluon.tools.Mail wrongly: mail.settings.server = 'myIP:25' # your SMTP server mail.settings.sender = 'u...@mydomain.pt' # your email mail.settings.login = 'user:pass' # your credentials or None 'username:password' I'm unsure about mails.settings.server. Is this correct? > (if you are in ubuntu/debian, don't know where it would be in other > distributions...) > > I'm using Debian Lenny. txs, Miguel