| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Accredited PayPal World Seller|
|Href mailto: inserting carriage return in body possible?|
Set some words in body ok. But separating lines of that body?
| 3:46 pm on Sep 3, 2004 (gmt 0)|
Setting some text lines in body's email link is no problem
href="mailto:email@example.com?subject=Typemysubjecthere?&body=Body of email document">Send email</a>
But the text has no paragraph. I need to put some 5 lines of text but I need an "enter" or retrun of carriage at the end of each phrase... is it possible to format those using mailto?
I want my text like this:
First line Second line
| 4:19 pm on Sep 3, 2004 (gmt 0)|
Try adding the escaped hex character for a carriage return physically, i.e. %0d.
<a href="mailto:firstname.lastname@example.org?body=Body%20of%0Demail">send email</a>
There is no way to guarantee the mail client will understand the value (and in fact, I don't believe mailto: is an official protocol), but it did work for me in Outlook and Eudora.
| 7:27 pm on Sep 3, 2004 (gmt 0)|
try this nitfy little page :)
| 8:12 pm on Sep 3, 2004 (gmt 0)|
VERY nifty :)
| 6:32 pm on Sep 7, 2004 (gmt 0)|
The escape works too. Thanks you all!
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved