ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-france
php-france
Re: [php-france] php - email -html
by Tanguy Crollen other posts by this author
Nov 7 2002 8:37AM messages near this date
Re: [php-france] php - email -html | Re: [php-france] php - email -html
Erreur dans mon explication

from = toi (donc de to)

--> 
from = toi (donc de TOI)


Crollen Tanguy
Tanguy@[...].Com

http://www.g1script.com [Webmastering]
Pour annoncer sur le site à moindre frais contactez moi!
+32 476 72 45 78
----- Original Message -----
From: "Tanguy Crollen" <tanguy@[...].com> 
To: <php-france@[...].org> 
Sent: Thursday, November 07, 2002 9:35 AM
Subject: Re: [php-france] php - email -html


>  bon dans ton mail
> 
>  Rajoute ceci
> 
> 
mail($to,$sujet,stripslashes($message)."".$fond,"FROM:".$nom."<".$from."> \nM
>  ime-Version: 1.0\nContent-Type: text/html;
>  charset=ISO-8859-1\nContent-Transfer-Encoding: 7bit");
> 
>  Il est biensur evident que moi, tout vient de la DB...
> 
>  donc to = vers (donc pas toi)
>  sujet = pas d'explication
>  message = pas d'explication non plus
>  from = toi (donc de to)
> 
>  Le reste après c'est pour le configuerer en html...
> 
>  Fais le test....
> 
>  Bye
> 
>  Crollen Tanguy
>  Tanguy@[...].Com
> 
>  http://www.g1script.com [Webmastering]
>  Pour annoncer sur le site à moindre frais contactez moi!
>  +32 476 72 45 78
>  ----- Original Message -----
>  From: "lulu" <l.nadaud@[...].fr>
>  To: <php-france@[...].org>
>  Sent: Thursday, November 07, 2002 9:31 AM
>  Subject: Re: [php-france] php - email -html
> 
> 
>  > Euh, tout n'est pas encore trés clair pour moi dans ta réponse :-)
>  > j'essaye....
>  >
>  > merci
>  >
>  > lulu
>  > ----- Original Message -----
>  > From: "Tanguy Crollen" <tanguy@[...].com>
>  > To: <php-france@[...].org>
>  > Sent: Thursday, November 07, 2002 9:12 AM
>  > Subject: Re: [php-france] php - email -html
>  >
>  >
>  > > Base toi la dessus
>  > >
>  > > function
>  > send_a_mail($from,$nom,$sujet,$message,$to,$format,$fonction_mail)
>  > > {
>  > > $fond="\n\nPowered by G1 ( http://www.g1script.com )";
>  > > if($fonction_mail=="email")
>  > > {
>  > > $emetteur=explode("@",$from);
>  > > email($emetteur[0]."\nMime-Version: 1.0\nContent-Type: text/html;
>  > > charset=ISO-8859-1\nContent-Transfer-Encoding:
>  > > 7bit",$to,$sujet,stripslashes($message)."".$fond);
>  > > }
>  > > else
>  > > {
>  > >
>  >
> 
mail($to,$sujet,stripslashes($message)."".$fond,"FROM:".$nom."<".$from."> \nM
>  > > ime-Version: 1.0\nContent-Type: text/html;
>  > > charset=ISO-8859-1\nContent-Transfer-Encoding: 7bit");
>  > > }
>  > > }
>  > >
>  > >
>  > > Crollen Tanguy
>  > > Tanguy@[...].Com
>  > >
>  > > http://www.g1script.com [Webmastering]
>  > > Pour annoncer sur le site à moindre frais contactez moi!
>  > > +32 476 72 45 78
>  > > ----- Original Message -----
>  > > From: "lulu" <l.nadaud@[...].fr>
>  > > To: <php-france@[...].org>
>  > > Sent: Thursday, November 07, 2002 9:08 AM
>  > > Subject: [php-france] php - email -html
>  > >
>  > >
>  > > > Bonjour la liste :
>  > > >
>  > > > Je désire créer une lettre d'information pour la 60aine d'inscrits
sur
>  > mon
>  > > > site.
>  > > > J'ai créé la lettre au format html (letter.html)
>  > > > je l'envoie manuellement sans problème....
>  > > >
>  > > > Sur le site, j'utilise la fonction mail dans une boucle
>  > > > mail($champ[email], "$sujet", "$message<br><br>",
>  > > >
>  > > > Que dois-je mettre en variable $message pour envoyer ma page
>  letter.html
>  > > ??
>  > > >
>  > > > merci à vous
>  > > >
>  > > > lulu
>  > > >
>  > > >
>  > >
>  > >
>  >
>  >
> 
> 
Thread:
charlies
BibiLefou
charlies
BibiLefou
charlies
BibiLefou
charlies
lulu
Tanguy Crollen
Tanguy Crollen
lulu
Tanguy Crollen
lulu
Olivier Meunier
BibiLefou
Didier DEMAISON

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved