[Javascript] cr/lf problem in calling a mail window
Cutter Bl
cutterbl at hotmail.com
Thu Apr 11 07:39:40 CDT 2002
I haven't tried this so you may have to play with it a bit, but it seems as
if you declare the body of the message to be HTML. If that is the case I
would think you would use HTML tags for formatting (<br> for line break,
<p></p> for paragraphs, etc.). Somebody stop me if I'm way off base here,
I've never done this type of mailto: construct before.
Cutter
http://www.falcon-knives.com
----Original Message Follows----
From: FERON Matthieu <FERONMA at cic-i.com>
Reply-To: javascript at LaTech.edu
To: "Javascript (E-mail)" <javascript at LaTech.edu>
Subject: [Javascript] cr/lf problem in calling a mail window
Date: Thu, 11 Apr 2002 10:57:11 +0200
Hello,
I use this code to build a mail
window.location = "mailto:mymail at myserver.ext?Subject=Contribution HTM :
&Body=Titre:\nDescription:\nInsère ici un fichier zip contenant les pages et
images à relier\nDès que les pages seront intégrées dans le site, tu
recevras une confirmation par mail.";
it works well and include my text in the right place but the '\n' doesn't
seem to work to include cr/lf.
if anyone has an idea.
Matthieu Féron
mferon at adeuza.fr
http://ffwnet.phpnet.org
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
More information about the Javascript
mailing list