Back To Start Of Archive
Taken From The Forum: Anything Goes
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:20
Autogenerated Email Text
Poster: Sandy Rogers
Dated: Wednesday August 13 2003 - 15:45:26 BST
Hi All,
I want to insert text into the body of an email from a link on my menu. I can do this by placing &body in the link with the body text required, however it appears in one continuous sentence/line.
Question Is there a code that I can place within the link text to cause a carriage return and have the autogenerated email body text display as follows :
line 1 aaaaaaaa
line 2 bbbbbbbb
Line 3 ccccccc
as opposed to :
line 1 aaaaaaaa line 2 bbbbbbbb Line 3 ccccccc
Poster: Sandy Rogers
Dated: Wednesday August 13 2003 - 16:11:12 BST
No all it did was print the \n or the \\n
It considered the \\n to be some sort of link
Thanks for trying
Poster: Hergio
Dated: Wednesday August 13 2003 - 17:47:37 BST
I scoured google for a bit and found nothing. As far as I can tell, I dont think its possible.
Poster: Sandy Rogers
Dated: Wednesday August 13 2003 - 18:03:14 BST
Since your first post I have also been scouring Google and have just finished.
I've searched under all sorts of different headings without success.
May be you're right and I won't be able to do this
Poster: Sandy Rogers
Dated: Wednesday August 13 2003 - 18:34:49 BST
I eventually found the code by searching for "html mailto" which has solved a few other queries I had.
The code for a new line is %0A
Poster: Hergio
Dated: Wednesday August 13 2003 - 19:04:27 BST
Geez, gotta love ascii hex characters. I had no idea those would be interpreted by the email client in such a way! Wow, thats a great thing to know for future reference. Also, if you would like any other neat characters to go into the email, check out http://www.asciitable.com and the value in the "Hx" column would be what you would put after the percent symbol in your mailto tag. Very nice detective work!
Poster: Sandy Rogers
Dated: Wednesday August 13 2003 - 21:22:08 BST
The following link provides a reallyv neat form that converts it all to JavaScript as well for To, From, CC, BCC, Body, Subject and New Lines in teh body text.
http://developer.netscape.com/viewsourc ... ailto.html
I'm well impressed!
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
