Try using JavaMail, it makes sending MultiPart messages a no brainer.
(*Chris*)
----- Original Message -----
From: Jeetandra Mahtani <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 29, 1999 10:37 AM
Subject: Re: Setting type to html
> Michael,
> Thanks for the information. I am using Outlook 98 but
> still having the problem. In fact I also added the
> following tag below <html> but still it didn't help:
> <META HTTP-EQUIV="Content-Type"
> CONTENT="text/html;charset=iso-8859-1">
> When I send it to a user using hotmail.com, fine, no
> problem, but if send it to a user using say
> rocketmail.com or Outlook, thats when the problem is
> there.
> Any suggestions/ideas?
> Thanks,
> Jeetandra
>
> ---Michael Nash <[EMAIL PROTECTED]> wrote:
> >
> > Jeetandra: The client might just need a more recent
> version of outlook - I
> > had the problem with versions previous to Outlook
> 98 not interpreting HTML
> > at all, but my current version, Outlook 98 does it
> fine.
> >
> > Mike N.
> >
> > -----Original Message-----
> > From: Jeetandra Mahtani
> [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, April 29, 1999 1:14 PM
> > To: [EMAIL PROTECTED]
> > Subject: Setting type to html
> >
> >
> > 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
> >
> >
>
___________________________________________________________________________
> > 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
> >
>
> _________________________________________________________
> 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
>
___________________________________________________________________________
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