Try setting "Content-Base" to your mergePage("MailTemplate.html")
John Kirby
-----Original Message-----
From: venakteswara Rao pasumarthi
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 01, 1999 7:55 AM
To: [EMAIL PROTECTED]
Subject: Sending mail content as HTML
Hai,
I am sending the formatted text through a servlet to the user. I want to
know what are the mime types that I need to handle to see my text in html
format. Right now i am setting the Content-type, content-disposition and
Content.
pwpMime.put( (Object) "Content-Type", (Object) "text/html" );
pwpMime.put( (Object) "Content-Disposition", "");
pwpMime.put( (Object) "Content", mergePage("MailTemplate.html"));
But it sends a attachment as well. Can anybody tell me how to overcome
this attachment file problem.
Thanx in advance,
venkat
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html