I am sending an email using the Google App Engine through my own domain admin@codeavengers.com.
I want to receive failure notifications, but I cannot get it to work.
I have the following code in appengine-web.xml
<inbound-services> <service>channel_presence</service> <service>mail_bounce</service> </inbound-services>
web.xml contains:
<servlet> <servlet-name>bouncehandler</servlet-name> <servlet-class>com.codeavengers.BounceHandlerServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>bouncehandler</servlet-name> <url-pattern>/_ah/bounce</url-pattern> </servlet-mapping>
And the BounceHandlerServlet contains ...
@Override public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException { log.severe("BounceHandler triggered"); }
The fault handler does not start! Any ideas what might cause the problem? Does the fault handler work with a custom domain? Or does it only work for appspotmail.com accounts?
Mike source share