if it's text I just use the following to format: \t for tab
\n or \r for new line R On Thursday, October 10, 2002, at 07:45 AM, Hardeep Singh, Noida wrote: > If the mail is HTML, you need to put <BR> for carriage return. > Otherwise (if > it is plaintext), you can put CRLF. > > Hardeep Singh > http://www.SeeingWithC.com/ > > > -----Original Message----- > From: Ronny Van der Perre [Smart IT Systems] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 10, 2002 4:23 PM > To: [EMAIL PROTECTED] > Subject: javamail and carriage return > > > hello, > > i am trying to lay-out a mail, sent via javamail. > > i cannot find a way to incorporate a carriage return (or linefeed) in > the > message part. > > any suggestions? > > > thx in advance > > ======================================================================= > ==== > 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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com