Mailto and using body of new mail message
I am currently using:
<a href="mailto:the person?subject=Problem with:?body=The Problem:">Report a bug</a>
I would like help with the "body" part.
Is there any way of saying New Line in the body i.e.
The Problem:
<i>new line</i>
The Solution:
Arielladog posted this at 19:12 — 11th May 2000.
They have: 122 posts
Joined: Jun 1999
not usre if you can speciy a new line..try looking here:
http://developer.netscape.com/viewsource/husted_mailto/mailto.html
Lloyd Hassell posted this at 06:00 — 12th May 2000.
They have: 231 posts
Joined: Feb 2000
I thought you would be able to use '\n' to insert a line break but that doesnt work.
The answer is given on the page Arielladog posted. You have to encode your string first. Line breaks become '%0A'
[This message has been edited by Lloyd Hassell (edited 12 May 2000).]
:: Lloyd Hassell :: http://www14.brinkster.com/lloydh ::
Arielladog posted this at 18:48 — 14th May 2000.
They have: 122 posts
Joined: Jun 1999
how come this won't work...I M using it as my 404 page. TYpe in a bad name for a page that doesn't exist, and you should be taken there, but try clicking on the email the webmaster link, how come it won't work?
www.scahperd.org/aslkjfdasdlkj.html
Moderate at JavaScriptCity Forums
Suzanne posted this at 00:40 — 15th May 2000.
She has: 5,507 posts
Joined: Feb 2000
arielladog -- it works in Netscape?!
------------------
Zero Cattle
Suzanne
Tables DeMystified
Arielladog posted this at 01:24 — 15th May 2000.
They have: 122 posts
Joined: Jun 1999
hmmm, it didn't work with the line breaks in IE and Outlook Express
Vincent Puglia posted this at 04:17 — 15th May 2000.
They have: 634 posts
Joined: Dec 1999
Hi,
As far as I know, IE & Outlook do not accept the "body/content" parameter to begin with. At least, I've never managed to get them to work.
Vinny
------------------
GrassBlade: cut&paste javascript
Where the world once stood
the blades of grass cut me still
Arielladog posted this at 19:37 — 15th May 2000.
They have: 122 posts
Joined: Jun 1999
In IE and Outlook Express, I got the body to work, but just not the line breaks.
RC posted this at 12:06 — 16th May 2000.
They have: 89 posts
Joined: Sep 1999
arielladog
you can not pass anything with a "?" in it to the body in outlook. Take out any of your question marks and try it again. Outlook freaks out and stops processing anything sent to the body when a question mark is read.
This is REALLY annoying when I was trying to pass links with variabls into emails. i.e.:
The page you requested is: www.blah.com?blah=blah.
Now way around it that I know off.
Arielladog posted this at 19:06 — 16th May 2000.
They have: 122 posts
Joined: Jun 1999
I don't know about outlook,b ut I would assume it is the same as outlook express. Go here:
http://www.scahperd.org/aslkjfdasdlkj.html click on the email the webmaster, and a body comes up, but, the body comes up with out the line breaks
Moderate at JavaScriptCity Forums
RC posted this at 20:37 — 16th May 2000.
They have: 89 posts
Joined: Sep 1999
hehe well, I only have outlook, so I am probably not even looking at the same thing as you. When I click it, it comes up with this in the message only:
What is the address of the page that you were trying to reach, but couldn't
See it stops processing at the first "?" defined within the body. So you are seeing the whole message but without breaks?
<a href="mailto:[email protected]?Subject=Page was not there&Body=What is the address of the page that you were trying to reach, but couldn't?%0A%0A%0AIf you clicked on a link from another page to get the the page that wasn't there, what was the name of the page and what link did you click on?%0A%0A%0A">email the webmaster</a>
Lloyd Hassell posted this at 04:17 — 17th May 2000.
They have: 231 posts
Joined: Feb 2000
It didnt work for me and I use Hotmail. You have used "Subject" with a capital "S" and the same goes for "Body". Maybe try all lowercase words. This feature is probably only supported by a few email programs.
:: Lloyd Hassell :: http://www14.brinkster.com/lloydh ::
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.