Hi.
if you want to send mail in html format.
you can just change the message's MIME type alone.
i think you might have used "text/plain" format.
this will give all the contents in single line only
or
you can format your message using "/n" "/t" special newline, tab charaters
Regards
Senthil.
At 03:35 PM 14/09/2001 +0500, you wrote:
> Hi all,
> I am sending a mail from JSP using Java Mail API. It contains a
> lot of text. I want that text to be formatted in a better way. Right now
> the whole test is coming in a single line, which looks very odd when ever
> that mail is opened. Is there any way for formatting that? I wanted to
> put a table (like HTML table) in that subject if possible. So that it
> looks decent...How to format that?
>Thanks in advance
>Smita
>-------------------------------------------------
>This mail sent through : http://mail.sify.com
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets