Ok few things when dealing with mail API

First and most important thing is* from address* could only be any of the 
below for security reasons, that means you can't send mails from any id you 
like

The sender address must be one of the following types:

   - The address of a registered administrator for the application
   - The address of the user for the current request signed in with a Google 
   Account. You can determine the current user's email address with the 
   Users API <http://code.google.com/appengine/docs/java/users/>.
   - Any valid email receiving address for the app (such as 
   [email protected]).

I use the last one, use anything you like [email protected] if 
you want the receiver of this mail to reply to email id of your choice use 
replyTo to set that.

Now mails can only be sent from applications deployed on app server. 
Local/dev server doesn't send any mails at all but yes it does display the 
logs in console. 

*Last bit of detail is by default logging.properties in WEB-INF folder is 
set to WARN change it to info i.e.
.level = INFO
This will show you the messages on console.*

Hope the above helps, I struggled a lot too :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to