[web2py] Re: Can not send verification email

2010-07-27 Thread mdipierro
in trunk now On Jul 27, 10:21 am, mattynoce wrote: > i did a slightly different fix in tools.py, starting on line 537: > >                 if attachments: >                     result = > mail.send_mail(sender=self.settings.sender, to=to, >                                             subject=

[web2py] Re: Can not send verification email

2010-07-27 Thread mattynoce
i did a slightly different fix in tools.py, starting on line 537: if attachments: result = mail.send_mail(sender=self.settings.sender, to=to, subject=subject, body=text, html=html,

[web2py] Re: Can not send verification email

2010-07-11 Thread MikeEllis
Solved, or at least hacked well enough for the time being :-) --enable_sendmail did the trick. It needs to be entered in the app launch settings in the GAE Launcher: * stop the app * double-click app in listing * enter --enable_sendmail in the Launcher settings "extra flags" field * restart the

[web2py] Re: Can not send verification email

2010-07-11 Thread MikeEllis
Solved, or at least hacked well enough for the time being :-) --enable_sendmail did the trick. It needs to be entered in the app settings in the GAE Launcher: * stop the app * double-click app in listing * enter --enable_sendmail in listing Here's the blog post that put me on the right track: h

[web2py] Re: Can not send verification email

2010-07-11 Thread MikeEllis
I just modified my tools.py as follows: elif self.settings.server == 'gae': logging.warn("using gae mail server") from google.appengine.api import mail attachments = attachments and [(a.my_filename,a.my_payload) for a in attachments]

[web2py] Re: Can not send verification email

2010-06-19 Thread Larry
Peter, This code looks good to me. I will adopt the same for now. Larry On Jun 19, 12:37 am, pecos1046 wrote: > Hi Larry: > > Looking at your suggestion, I made a code change in tools.py and mail > with gae works well. Here my patch - so far so good, I wonder when it > will backfire. > >      

[web2py] Re: Can not send verification email

2010-06-18 Thread pecos1046
Hi Larry: Looking at your suggestion, I made a code change in tools.py and mail with gae works well. Here my patch - so far so good, I wonder when it will backfire. elif self.settings.server == 'gae': from google.appengine.api import mail attachments = a

[web2py] Re: Can not send verification email

2010-06-17 Thread mdipierro
will upload your suggested fix to trunk soon. On Jun 17, 6:16 am, Larry wrote: > I was also getting this error on my first go at sending mail using > gae. > > I looked at the code in gluon/tools.py for sending gae mail : > >   elif self.settings.server == 'gae': >     from google.appengine.api im

[web2py] Re: Can not send verification email

2010-06-17 Thread Larry
I was also getting this error on my first go at sending mail using gae. I looked at the code in gluon/tools.py for sending gae mail : elif self.settings.server == 'gae': from google.appengine.api import mail attachments = attachments and [(a.my_filename,a.my_payload) for a in attachment

[web2py] Re: Can not send verification email

2010-06-11 Thread mdipierro
if you use server='gae' you should use login=None Not sure if this is the problem anyway. Do you get any error? On 11 Giu, 10:12, pecos1046 wrote: > I use the email verification option for new user registration. It > works fine in test mode on the google-appengine sdk. However when I > upload the