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=
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,
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
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
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]
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.
>
>
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
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
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
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
10 matches
Mail list logo