Posted By:
Matt_Newberry
Posted On:
Tuesday, October 23, 2001 11:58 AM
To add a file attachment to multipart/alternative email (plain part + html part), I need to create the "alternative" MimeMultiPart, adding the plain and html Parts to it; then create a "mixed" MimeMultiPart, adding both the alternative multipart and the file attachment Parts to it. The
MultiPart.addBodyPart()
method does not support adding another MultiPart.