As the document said, there are 3 types of valid sender:
http://code.google.com/appengine/docs/python/mail/sendingmail.html

But in my app, when I set sender to the current request user, it will  raise
InvalidSenderError: Unauthorized sender unless the user is admin.
I've test it in 2 apps, both of them have the same problem.

Test code:
from google.appengine.api import mail
user = users.get_current_user()
mail.send_mail_to_admins(user.email(), 'test', 'test')

Please fix it.
----------
keakon

-- 
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