Noel, Yes, this is reproducible. I actually discovered the cause. I am resending the MIME message using a technique very similar to what you wrote in the AbstractRedirect mailet. I can not use the AbstractRedirect mailet, because my design goals require that I take the message content (and attachment) and resend it the message with different headers.
The problem comes when I send the message in HTML format. Currently, I am only sending the message in plain/text format. Also, attachments throw a similar error. As a matter of note, the Blaster Worm forced a complete reformat of my computer and when it did so, the default Outlook settings (i.e. HTML format) were reintroduced. I am afraid, that what I thought initially worked well was flawed and that I failed to introduce a comprehensive test of the mailet in the first place. Noel, thank you for taking your time answering this rather novice question. I now have to rewrite my mailet to send MutiPart MIME messages, a shame considering that it is harder to remove the To: and From: headers from the HTML section of the message. Many Thanks! Hut ----- Original Message ----- From: "Noel J. Bergman" <[EMAIL PROTECTED]> To: "James Users List" <[EMAIL PROTECTED]>; "Hutson Carspecken" <[EMAIL PROTECTED]> Sent: Sunday, August 17, 2003 12:56 PM Subject: RE: ClassCastException Error > Possibly caused by a classloader issue. What version of James? Is this > reproducible for all messages created by your mailet? > > --- Noel > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
