Hello, I've seen in the archive that it is possible to get the MimeMultipart of a new Mail like that:
MimeMultipart multipart = (MimeMultipart) mail.getMessage().getContent(); When I send an email with some binary file attached, I get a java.lang.ClassCastException: java.lang.String. The reason I'd like to get the multipart is to discard the attachment. My question is: Why do I get this exception? Thanks, Jm --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
