Hi All,
In my custom mailet i'd like to save mail which is causing me issues
(Unsupported MIME Types)
logger.error("Encountered Unsupported Mime Type");
mail.setState(Mail.ERROR); // Send this mail to the error queue
throw new Exception("Encountered Unsupported Mime Type");
I thought that mail.setState(Mail.ERROR) would send the mail to the error
processor and save it into
./var/mail/error
It didn't do it though.
Any other ideas on how i can save the entire incoming mail to disk so i can
look at it later.
Thanks
Michael
---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]