Posted By:
Niraj_Bhatt
Posted On:
Wednesday, September 26, 2001 09:14 PM
Sorry for asking a question in this reply. We are facing one problem and i think u can answer us.
We want to show an html page in email. The message is
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0007_01C146D5.DA019640"
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C146D5.DA019640
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
html mail
------=_NextPart_000_0007_01C146D5.DA019640
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
charset=3Diso-8859-1">
html mail
------=_NextPart_000_0007_01C146D5.DA019640--
For this message we are dropping the 0th part since it is containing a plain text version of mail. When we do a getBodyPart(1) on this Multipart message we get the object of InputStream. But I need to append this content in my html file where in I show From, To, Cc and subject. Please help..how can i achive this.
Nt: We are using servlet/html combinition.
Thanks
Niraj Bhatt