Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Link: mailto: 1

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
How can I add carriage returns to the body of an email via a mailto link? for example if I have:

mailto:me@me.com&cc=you@you.com&subject=test&body=testing again

and I want to make the body read:

testing again


and again

I tried:

mailto:me@me.com&cc=you@you.com&subject=test&body=testing again\n\n\nand again

but that does not work - anyway to get those returns in there?

[conehead]
 
Try escaping the string maybe?

Code:
mailto:me@me.com&cc=you@you.com&subject=test&body=testing[!]%20[/!]again[!]%0A%0A%0A[/!]and[!]%20[/!]again

-kaht

[small] <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <.</B>[/small]
[banghead] [small](He's back)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top