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
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact