>From http://code.google.com/appengine/docs/mail/sendingmail.html:

The sender address can be either the email address of a registered
administrator for the application, or the email address of the current
signed-in user (the user making the request that is sending the
message).

--
www.muspy.com

On Dec 8, 1:11 am, Albert <[EMAIL PROTECTED]> wrote:
> I am sending emails like this why I get an error when the application
> was uploaded to the GAE server
>
> and the most weir thing is that I get no error out put on my log.
>
> sender  = "[EMAIL PROTECTED]";
>         subject = "Your Account on GAE-SJTU SURVEY";
>         to = user.name + " <" + user.email + ">";
>         body = "Dear"
>
>         message = mail.EmailMessage(
>                                     sender  =
> sender,
>                                     subject = subject);
>         message.to = to;
>         message.body = body;
>         message.send()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to