Discussion:
Put line breaks in email?
(too old to reply)
Diggy
2008-04-02 10:29:44 UTC
Permalink
I'm using a simple method of send an email using the clients own email
program. Everything works fine but the line breaks don't appear
(everything is on the same line). what should I use instead of \n ??

strFeedback = "Here are my feedback ratings - \n\nRelevance:
"+relevance+"\n Understanding: "+understanding;

getURL("mailto:***@myserver.com"+
"?subject=Feedback?body="+strFeedback);
Jedyny
2008-04-02 18:46:00 UTC
Permalink
try \r\n or \n\r or <br /> if this is html e-mail
Post by Diggy
I'm using a simple method of send an email using the clients own email
program. Everything works fine but the line breaks don't appear
(everything is on the same line). what should I use instead of \n ??
"+relevance+"\n Understanding: "+understanding;
"?subject=Feedback?body="+strFeedback);
Loading...