Hi Massimo, I'm having the same problem here I use postfix with this setting
mail = Mail() mail.settings.server='127.0.0.1:25' # your SMTP server mail.settings.sender='mygmailacco...@gmail.com' # your email mail.settings.login =None But I can't send any email during the registration process... I also tried with gmail SMTP server and no success and here my setting: mail = Mail() mail.settings.server='smtp.gmail.com' # your SMTP server mail.settings.sender='mygmailusern...@gmail.com' # your email mail.settings.login ='mygmailusern...@gmail_password' Can you please show us your setting or do you thing I'm doing something wrong here ? Thanks a lot ! Yannick P. On Feb 25, 11:53 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > No gmail provides smtp and you can access it from anywhere. That way > you do not have to run your own email server. > > Massimo > > On Feb 25, 10:51 am, Jeffield <jeff.sheffi...@gmail.com> wrote: > > > > 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 uppostfix, (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 -~----------~----~----~----~------~----~------~--~---