Hello,
I am mailing the information that a user enters in a
form to a specified individual. Now this information
does contain some html code too. When the message is
sent to a user with a hotmail.com account, its fine,
that is the user does not see the html code but the
html output. But when sent to a client using OutLook,
the user actually sees the html code.
Any way to get around this?

I am using:
sun.net.smtp.SmtpClient smtp = new
sun.net.smtp.SmtpClient("xyz");
smtp.from(from);
smtp.to(to);
PrintStream msg = smtp.startMessage();
msg.println("To: " + to);
msg.println();
msg.println("Subject: New Complaint");
msg.println();
msg.println("Complaint Number: " + c1cono);
msg.println();
msg.println("<html><body><center><b><font
color=\"#FF0000\"></b></center>");
.......

Thanks,
JGM





_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

___________________________________________________________________________
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

Reply via email to