Maxsa,

Can you double check that this is in your appengine-web.xml?

<inbound-services>
  <service>mail</service>
</inbound-services>

This is documented here:
http://code.google.com/appengine/docs/java/mail/receiving.html

One of the "gotchas" of the development server is that the Admin console
will be able to invoke the incoming mail handler even if this is not
enabled. App Engine will not deliver incoming email unless this service is
defined.

On Wed, Nov 11, 2009 at 4:13 AM, maxsap <[email protected]> wrote:

>
> Ikai I have tried to do this but I dont have any success.
> my web.xml looks like this :<servlet>
>  <servlet-name>mailhandler</servlet-name>
>  <servlet-class>MailHandlerServlet</servlet-class>
> </servlet>
> <servlet-mapping>
>  <servlet-name>mailhandler</servlet-name>
>  <url-pattern>/_ah/mail/*</url-pattern>
> </servlet-mapping>
> <security-constraint>
>  <web-resource-collection>
>    <url-pattern>/_ah/mail/*</url-pattern>
>  </web-resource-collection>
>  <auth-constraint>
>    <role-name>admin</role-name>
>  </auth-constraint>
> </security-constraint>
>
> I have a servlet called MailHandlerServlet gust like the tutorial at
> google. when I try to send a mail to
> *[email protected]
> (where javasippy is the ID of my app) I only get a mail from mail
> delivery subsystem saying:"Delivery to the following recipient failed
> permanently"
> when I go to the address javasippy.appspot.com/_ah/mail/ I get an
> error saying initialization error
> any ideas?
> thanks in advanced, regards maxsa
> >
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine

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