Hi,

please include the Stracktrace / Logmessage. Without this its nearly
impossible to help..

cheers,
Norman

2008/11/14 jbi joe <[EMAIL PROTECTED]>

>
> 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-tp20498216p20498216.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]
>
>

Reply via email to