Hi Eric, I'm a bit confused.. The MimeMessage contains everything you need. I think this should do the job:
new MimeMessageInputStream(mail.getMessage); Bye, Norman 2011/1/19 Eric Charles <[email protected]>: > Hi, > > For the 2.3 import tool, I need to convert the org.apache.mailet.Mail to > InputStream (not only the MimeMessage, but the whole mail with subject, > headers,...). > Is there an existing utility class, or should I write one (one where to > place it ?) ? > > Tks, > > Eric > > > --------------------------------------------------------------------- > 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]
