[Javascript] cr/lf problem in calling a mail window

FERON Matthieu FERONMA at cic-i.com
Thu Apr 11 07:43:47 CDT 2002


thanks Cutter, but I've already tried this.
and also %13%10.
I'm quite sure it's possible but there's surely a little trick to find.

-----Message d'origine-----
De : Cutter Bl [mailto:cutterbl at hotmail.com]
Envoyé : jeudi 11 avril 2002 14:40
À : javascript at LaTech.edu
Objet : Re: [Javascript] cr/lf problem in calling a mail window


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 world's largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020411/d65666d7/attachment.htm>


More information about the Javascript mailing list