wood burning stoves 2.0*
The moose likes Java in General and the fly likes Is it possible to change the Content-type field of a mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Is it possible to change the Content-type field of a mail" Watch "Is it possible to change the Content-type field of a mail" New topic
Author

Is it possible to change the Content-type field of a mail

arun mahajan
Ranch Hand

Joined: Dec 07, 2001
Posts: 305
Hello Everybody,
is it possible to change the Content-type field of a mail. I need to achieve the following syntax int the mail:
Content-Type: multipart/related; type="application/smil";
boundary="----=_Part_1_-1139278556.1057020136265"

I was trying the following code:

Though it sends the mail but it never gives me the boundary parameter there.
Am I doing something wrong. Is there any way of achievng this?
regards,
Arun
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Not a clue.
If no one can help out with this by tomorrow, I will move it to the "Other APIs forum" (since you are using the JavaMail API) and see if someone over there can help.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to change the Content-type field of a mail