Click to See Complete Forum and Search --> : For BODY= of the MAILTO, how to insert a paragraph mark or a line break
Francois Gibeau
03-29-2000, 02:25 PM
Hi everyone,
I've been spending lots of time trying to use all the possibilities with
the BODY= of the MAILTO attribute and I can't figure out how to insert a
paragraph mark or a line break. If I use the following:
<a href="mailto:gibeau_f@hotmail.com?body=Hi :) its me,
here
we go again&subject=Regarding this tag&cc=someone@mailbox.com">An example
try</A>
or
<a href="mailto:gibeau_f@hotmail.com?body=Hi :) its me, ¶ here we go
again&subject=Regarding this tag&cc=someone@mailbox.com">An example try</A>
It doesn't work, in the first case it puts the cursor back to the beginning
of the same line. In the other case it prints in the line the character for
the paragraph symbol.
Anyone has the solution?
Thanks
Kris Eiben
03-30-2000, 02:09 PM
Mailto is quirky -- I wouldn't recommend using its "parameters" unless you
know which browser your users have. See here for more details:
http://www.htmlcompendium.org/3mailto.htm
Francois Gibeau wrote in message <38e24aab$1@news.devx.com>...
>Hi everyone,
>I've been spending lots of time trying to use all the possibilities with
>the BODY= of the MAILTO attribute and I can't figure out how to insert a
>paragraph mark or a line break. If I use the following:
><a href="mailto:gibeau_f@hotmail.com?body=Hi :) its me,
here
>we go again&subject=Regarding this tag&cc=someone@mailbox.com">An example
>try</A>
>or
><a href="mailto:gibeau_f@hotmail.com?body=Hi :) its me, ¶ here we go
>again&subject=Regarding this tag&cc=someone@mailbox.com">An example try</A>
>It doesn't work, in the first case it puts the cursor back to the beginning
>of the same line. In the other case it prints in the line the character for
>the paragraph symbol.
Robert de Jong
04-04-2000, 06:47 PM
"Francois Gibeau" <gibeau_f@hotmail.com> wrote:
>
>Hi everyone,
>
>I've been spending lots of time trying to use all the possibilities with
>the BODY= of the MAILTO attribute and I can't figure out how to insert a
>paragraph mark or a line break. If I use the following:
>
><a href="mailto:gibeau_f@hotmail.com?body=Hi :) its me,
here
>we go again&subject=Regarding this tag&cc=someone@mailbox.com">An example
>try</A>
>
>or
>
><a href="mailto:gibeau_f@hotmail.com?body=Hi :) its me, ¶ here we go
>again&subject=Regarding this tag&cc=someone@mailbox.com">An example try</A>
>
>It doesn't work, in the first case it puts the cursor back to the beginning
>of the same line. In the other case it prints in the line the character
for
>the paragraph symbol.
>
>Anyone has the solution?
>
>Thanks
save the following text as emailme.htm and broswe it !!!
<html>
<head>
<title>Almost There</title>
</head>
<body bgcolor="#FFFFFF">
<font face="arial, helvetica" size=2>
<p align="center">1. Click my name to see the solution</p>
<br>
<br>
<p align="center">by <a href="mailto:rjong@step-stone.com&subject=Hello%20Robert%21&body=How%20are%20you%2C%20Robert%3F">Robert
de Jong</a>, with help from Microsoft<br>
<br>
<hr>
<br>
<br>
<p align="center">2. Click Q181991 to see the article </p>
<br>
<br>
<p align="center"><a href="http://support.microsoft.com/support/kb/articles/Q181/9/91.ASP?LNG=ENG&SA=ALLKB&FR=0">
Q181991</p>
</font>
</body>
</html>
Sarah
04-14-2000, 10:28 AM
Hi,
Maybe you can use the \n tag!
<a href="mailto:gibeau_f@hotmail.com?body=Hi :) its me, \n here we go again">An
example try</A>
rodrigues00
07-15-2008, 09:31 AM
One solution is to use ASCII characters directly in the HTML. For a new line/paragraph, i use: %0D (see an ascii table as www.AsciiTable.com)
By the way, what if you need the «&» character on the BODY of mailto?
It´s a similar problem, because the mailto also uses the «&» as a separator. Here the same solution applies: insert %26 in your BODY-string and that´s it.
devx.com
Copyright WebMediaBrands Inc. All Rights Reserved