How do I "forward" an email along with any attachments?

susanta panda

Its very simple. All you need to do is:

  1. Create a new MimeBodyPart object
  2. Set the content of it as the attachment
  3. Create a MimeMultipart object
  4. Add The MimeBodyPart to the MimeMultipart object
  5. Send it the usual way