Hi,

sometimes you want to test incoming mails with attachments or other things 
on your local development server. The admin console does not allow this 
currently. I thought, i share a little setup, that i just found, which works 
quite well for some scenarios.

Here for i use

   - the REST Console Chrome extension, which allows you create complex 
   requests
   - Google Mail

Here's what i do:


   1. I create a mail in Google Mail that i want to send to my local 
   development server.
   2. I send it to myself (my own google mail address)
   3. I open it in the inbox and then i click that arrow, that points 
   downward in the upper right corner of the mail and click "show original"
   (that's why i have to send it to myself, because as a draft you don't 
   have that button)
   4. I copy the raw text of the mail
   5. I open the REST Console extension and paste the raw text of the mail 
   into the "Body>Raw Body" input field
   6. I set the "Body > content-type" to "multipart-alternative" or whatever 
   is set in the raw mail text
   7. I make sure, that my local development server is running
   8. In the REST Console extension i hit Post at the bottom of the screen.
   9. I watch, what happens

This works pretty well for my use cases. It might not be suitable for 
certain attachments though. Hope, this helps some people.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/JyT0fOuGu4sJ.
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