GAE Python Mail Error/Bug

16 views
Skip to first unread message

MukeshRaj

unread,
Aug 3, 2011, 9:26:43 PM8/3/11
to google-a...@googlegroups.com
Tried to run this Python GAE code
      vto = urllib.unquote(self.request.get('vto'))
      vfr = urllib.unquote(self.request.get('vfr'))
      vcc = urllib.unquote(self.request.get('vcc'))
      vbcc = urllib.unquote(self.request.get('vbcc'))
      vsub =urllib.unquote( self.request.get('vsub'))
      vmsg = urllib.unquote(self.request.get('vmsg'))
      mail.send_mail(sender=vfr,to=vto,cc=vcc,bcc=vbcc,subject=vsub,body=vmsg)  
I get this error irregardless of running within another program or via URL.  I think a number of other users have this problem too ....
Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 702, in __call__
    handler.post(*groups)
  File "/base/data/home/apps/s~optimumtool/2.352233657943613150/index.py", line 601, in post
    mail.send_mail(sender=vfr,to=vto,cc=vcc,bcc=vbcc,subject=vsub,body=vmsg)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/api/mail.py", line 351, in send_mail
    message.send(make_sync_call)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/api/mail.py", line 854, in send
    raise e
ApplicationError: ApplicationError: 1 Internal error

It worked before but just suddenly decided not to.... any ideas ? Thanks

Robert Kluin

unread,
Aug 5, 2011, 1:16:19 AM8/5/11
to google-a...@googlegroups.com
Have you tried logging those fields to see if something is wrong?
What about your quotas? When you see those errors, are your email
quotas OK?

I'm sure you've got it secured, but something about that code makes me
think open relay....


Robert

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/q48YLBWr_7EJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

lin jinseng

unread,
Aug 6, 2011, 12:21:17 AM8/6/11
to Google App Engine
My app worked normally few days ago, but these two days it fails. The
following is error message.

Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/__init__.py", line 700, in __call__
handler.get(*groups)
File "/base/data/home/apps/s~linjinseng/1.352349387223759496/
main.py", line 62, in get
The example.com Team""", html="<a href='http://
tw.yahoo.com'>yahoo</a>")
File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/mail.py", line 351, in send_mail
message.send(make_sync_call)
File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/mail.py", line 854, in send
raise e
ApplicationError: ApplicationError: 1 Internal error

On 8月5日, 下午1時16分, Robert Kluin <robert.kl...@gmail.com> wrote:
> Have you tried logging those fields to see if something is wrong?
> What about your quotas?  When you see those errors, are your email
> quotas OK?
>
> I'm sure you've got it secured, but something about that code makes me
> think open relay....
>
> Robert
>
>
>
>
>
>
>
> On Wed, Aug 3, 2011 at 21:26, MukeshRaj <optimumcons...@gmail.com> wrote:
> > Tried to run this Python GAE code
>
> >       vto = urllib.unquote(self.request.get('vto'))
> >       vfr = urllib.unquote(self.request.get('vfr'))
> >       vcc = urllib.unquote(self.request.get('vcc'))
> >       vbcc = urllib.unquote(self.request.get('vbcc'))
> >       vsub =urllib.unquote( self.request.get('vsub'))
> >       vmsg = urllib.unquote(self.request.get('vmsg'))
>
> > mail.send_mail(sender=vfr,to=vto,cc=vcc,bcc=vbcc,subject=vsub,body=vmsg)
>
> > I get thiserrorirregardless of running within another program or via URL.
> > I think a number of other users have this problem too ....
>
> > Traceback (most recent call last):
> >   File
> > "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__i nit__.py",
Reply all
Reply to author
Forward
0 new messages