Hi all,

My code was working two weeks ago and now I found myself in the same
situation of the original post

Hard to tell what is going on with the java mail service. Definitely
something changed.

Claudio






Of
On Dec 18, 7:29 am, "@bh!jiT" <choudhury.abhi...@gmail.com> wrote:
> 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
>    x...@app-id.appspotmail.com).
>
> I use the last one, use anything you like ad...@app-id.appspotmail.com 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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to