Click to See Complete Forum and Search --> : Help on javascript email to Outlook


Gondwana
12-26-2003, 09:55 AM
Hi

I am new to this group and also a beginner in JS. Does someone knows which escape character to use on PC Windows to insert a CR when sending a string to Outlook Express 6. On Mac either "\n" or "\r" work fine but not on PC.

window.location = "mailto:" + emailAddress + "?subject=test&body=" + Line1 + '???' + Line2;

Khalid Ali
12-26-2003, 11:06 AM
in my experience out look will not recognise any form of line break in a message string

Gondwana
12-26-2003, 11:21 AM
Too bad...

Is there a way to ask Outlook to interpret the string as html code and then format the body accordingly?

I could then pass "<br>".