Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set unique boundary string in MimeMultipart?

 
Jim Plunkett
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to be able to specify the Unique Boundary String that will be used in separating the parts of my MimeMultipart objects. However, the doc (pasted below) implies that this is constructed automatically.
Does anyone know how I might be able to control this?
Thanks,
Jim!
=========+=========+=========+=========+=========+=========+
MimeMultipart
public MimeMultipart()
Default constructor. An empty MimeMultipart object is created. Its content type is set to "multipart/mixed".
A unique boundary string is generated and this string is setup as the "boundary" parameter for the contentType field.
MimeBodyParts may be added later.
=========+=========+=========+=========+=========+=========+
 
sandeepz putrevu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Any answer to this age old question ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic