I get no stack trace, at least that I can find..
Is the mistake that I am making - attempting to
move the mail message from the james mail api
over to a javax.mail.MimeMessage package?
I have seen other mailets with this code?
Perhaps I am going about my goal incorrectly.
I would liek to see all the individual message parts, such that
are available via the MimeMessage in the Javax.mail.MimeMessage,
such as; MimeMessage.getContentType()
I can not find all these methods in the james.mail api....
Am I missing them?
jbi joe wrote:
>
> IM creating my own custom mailet and gettin an error
> trying to extract the mail out of the service method.
> The getMessage appears fine, but then looking at
> the result parts of the message cause exceptions.
> Here is code snippet...
>
> public void service(Mail mail) {
> MimeMessage message = mail.getMessage(); //works OK
> Address addr = message.getFrom(); // BREAKS here
> }
> HELP greatly appreciated? SHould be a snap here as I have seen
> other mailet code do this...
> TIA
>
--
View this message in context:
http://www.nabble.com/Problem-with-mailet-tp20498216p20514773.html
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]