Hi, I also opened a JIRA-issue on this (JBMAIL-24). Currently, when mail-delivery fails, mail end in the DLQ, where it just sits and rots.
For 5xx style errors, mails should be handled back to the sending user informing him of the failure. For 4xx style error, JBMails should try to redeliver a few times (with expoential backoff) and then in case of constant failure be handled back to the sender. There should be the possibility to inform the user after some time that the mail is deferred. For the 5xx a task should e.g. check every minute the DLQ, take failed mail off it, atach a "failed mail " message and send it to the originating user. For 4xx mails, I am not sure if they stay on the "outgoing" queue or what happens. Opinions? Heiko View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863367#3863367 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863367 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development