On a similar theme... probably also worth mentioning that this line: mail.settings.server = 'logging' or 'smtp.gmail.com:587'
also provides an example which evaluates to 'logging'. To get the smtp server working, you may wish to edit that to: mail.settings.server = 'smtp.gmail.com:587' On Oct 25, 7:56 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > That is what it is > > mail.settings.tls=True or False > > is just an example. The right hand site evaluates to True. > > On Oct 25, 12:52 pm, Alexei Vinidiktov <alexei.vinidik...@gmail.com> > wrote: > > > Thanks, Massimo. > > > But why does the line include both True and False? > > > Why isn't it simply > > > mail.settings.tls=True > > > or > > > mail.settings.tls=False > > > depending on the needs? > > > On Tue, Oct 26, 2010 at 12:27 AM, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Do not use it on GAE. It means if you require encryption when > > > authenticating to the SMTP server. > > > > On Oct 25, 12:13 pm, Alexei Vinidiktov <alexei.vinidik...@gmail.com> > > > wrote: > > > > Hello, > > > > > When trying to figure out how to make mailing functionality work on GAE > > > > I > > > > came across a couple of posts where I found this line: > > > > > mail.settings.tls=True or False > > > > > I can't understand what it means. > > > > > I found it here (in a comment by Massimo): > > >http://stackoverflow.com/questions/2656068/sending-email-from-an-web2... > > > > > and here: > > >http://faisal.altlimit.com/2010/08/sending-email-with-web2py-in-googl... > > > > > -- > > > > Alexei Vinidiktov > > > -- > > Alexei Vinidiktov > >