> Try mail.settings.login=None I will try it. (when I get back home) > I normally use the gmail smtp server with no ptoblem. really...!? I just assumed that this was a GAE type of functionality.
Thanks, Jeff On Feb 25, 8:07 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > Try mail.settings.login=None > > I normally use the gmail smtp server with no ptoblem. > > Massimo > > On Feb 25, 12:17 am, Jeffield <jeff.sheffi...@gmail.com> wrote: > > > Hello, > > > I am playing with T2 on my desktop now. And I am trying to get > > Authentication working. To do this I need to be able to send email. > > -- this is not a production box -- and is set up with a non-routeable > > internet address. > > I set up postfix, (127.0.0.1:25) and tested it with the "mail" command > > and that all works fine. I sent mail to myself @gmail.com. > > > However, I cannot (for the life of me) get t2 (n web2py) to send out > > the mail. > > > I keep getting "Unable to Send Email". Which I trace back to > > t2::email > > method. > > I gather that I need to set up the mail.settings correctly. > > here is what I have tried > > ---------------------------------- > > mail.settings.server='smtp.localhost:25' # your SMTP server > > mail.settings.sender='r...@localhost' # your email > > #mail.settings.login='username:password' # your credentials > > ---------------------------------- > > and also > > ---------------------------------- > > mail.settings.server='127.0.0.1:25' # your SMTP server > > mail.settings.sender='r...@localhost' # your email > > ---------------------------------- > > Note: I have tried this with web2py version 1.56.2 (and .4) > > with no joy.... I am sure some else must be doing this...? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---