Hi All, I am new to java mail service.I have a doubt.
the content parameter that I am using inside setContent method has some new line characters(\n) and a hyperlink also ,when I send the mail I get the hyperlink but the contents are not shown in separate lines. I tried using setText I am getting content in different lines but the hyperlink is not visible
what should I do to get my contents in different lines as well as the hyperlink
I introduced "<br></br>" instead of "\n" and it is working. but still then I want to know if you have a better solution to this problem.
Actually, for HTML that is the correct symbol for line break.
Well, almost. <br> should not have an end tag. So just <br> is fine, and if you want to please XHTML as well you can use <br/>. </br> should never be used. [ November 13, 2008: Message edited by: Rob Prime ]