Nxt_Gate Posted January 12, 2003 Share Posted January 12, 2003 I have a link using mailto:, and i want the email client to open with the subject and the body of the email. I know how to do it, my problem is that i cant make the body of the email multiline.. for example i am doing right now this href="mailto:what@ever.com?subject=bla bla&body=TEXT HERE AND MORE TEXT IN OTHER LINE" so when i click the link it opens OE(in my case), and the body is like this: TEXT HERE AND MORE TEXT IN OTHER LINE what i want is the body to appear like TEXT HERE AND MORE TEXT IN OTHER LINE notice that i need it in two lines... Thanks!!! Link to comment Share on other sites More sharing options...
0 smurfiness Posted January 12, 2003 Share Posted January 12, 2003 This is a shot in the dark, but you could try using the newline escape code. href="mailto:what@ever.com?subject=bla bla&body=TEXT HERE\nAND MORE TEXT IN OTHER LINE" -- Danny Smurf Link to comment Share on other sites More sharing options...
0 Nxt_Gate Posted January 12, 2003 Author Share Posted January 12, 2003 Error: Unterminated string constant Link to comment Share on other sites More sharing options...
0 Ricky Baby Posted January 12, 2003 Share Posted January 12, 2003 try a <br /> - another longshot Link to comment Share on other sites More sharing options...
0 generalnewbie Posted January 16, 2003 Share Posted January 16, 2003 <a style="COLOR: black; BACKGROUND-COLOR: #ffff66" href="mailto:mtscf@microsoft.com?subject=Feedback&body=The InetSDK Site Is Superlative""> <b style="COLOR: black; BACKGROUND-COLOR: #a0ffff"> Subject EMAIL ME</b></a> THIS WORKS LIKE A CHAMP MORE EXAMPLES NEEDED? http://msdn.microsoft.com/library/default....ined/mailto.asp Link to comment Share on other sites More sharing options...
Question
Nxt_Gate
I have a link using mailto:, and i want the email client to open with the subject and the body of the email.
I know how to do it, my problem is that i cant make the body of the email multiline.. for example i am doing right now this
so when i click the link it opens OE(in my case), and the body is like this:
TEXT HERE AND MORE TEXT IN OTHER LINE
what i want is the body to appear like
TEXT HERE
AND MORE TEXT IN OTHER LINE
notice that i need it in two lines...
Thanks!!!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts