View RSS Feed

Java Mail

Receiving Mail

Rate this Entry
by , 04-25-2012 at 09:36 PM (850 Views)
Email could be received by your application at such kind of addresses.

string@appid.appspotmail.com

It shall be noted that even application gets deployed at the customized domain, application couldn’t get the mail that has been sent to those addresses which are present at that domain.

To applications, email messages are being sent as HTTP requests. Such requests are basically generated by the help of app Engine and are being posted to the applications. In the configuration of your application, handlers are specified which are called so that such HTTP requests could be managed. MIME data is received in your handlers for sake of email messages, which is then parsed to separate fields.
Mailing messages are received at the application as HTTP POST requests that use this URL:

/_ah/mail/address

Reception of email in application is disabled, by default. To receive email at your application, it shall be specified first of all in appengine-web.xml files that such service is needed, by including the following:
XML Code:
<inbound-services>
  <service>mail</service>
</inbound-services>

Submit "Receiving Mail" to Facebook Submit "Receiving Mail" to Digg Submit "Receiving Mail" to del.icio.us Submit "Receiving Mail" to StumbleUpon Submit "Receiving Mail" to Google

Categories
Mail Message

Comments