Auteur Sujet: Envoie d'émail à partir d'un site web  (Lu 2342 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne campione5000

  • Débutant
  • *
  • Messages: 1
Envoie d'émail à partir d'un site web
« le: 16 Juin 2013 à 14:39:56 »
Qui peux me fournir un contact.html et un formmail.php qui fonctionne chez PHPNET, car ceux que j ai ne fonctionnent plus , je n ai plus rien dans le mail qui arrive a part les entetes
merci d'avance

Hors ligne Thispy

  • Débutant
  • *
  • Messages: 9
Re : Envoie d'émail à partir d'un site web
« Réponse #1 le: 09 Janvier 2014 à 19:19:38 »
Bonjour,

Voici un code il suffit de faire un copie colle, sauf que je ne l'ai pas essayé sur le serveur de phpnet...

<html xmlns:v="urn:schemas-microsoft-com:vml"


<head>
<meta http-equiv="Pragma" CONTENT="no-cache">
<title> *** thispy ***</title>
<meta name="Author-Corporate" content="thispy">
<meta name="Content-Language" content="en-FR">
<meta name="Coverage" content="Worldwide">
<meta name="Date-Creation-yyyymmdd" content="20010227">
<meta name="Publisher" content="*** T H V ***">
<meta name="description" content="Page en constuction - thispy">
<meta name="keywords" content=" Page en construction - thispy ">
<link REL="SHORTCUT ICON" href="*** thispy ***">

<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>THV</o:Author>
  <o:Template>Normal</o:Template>
  <o:LastAuthor>THV</o:LastAuthor>
  <o:Revision>1</o:Revision>
  <o:TotalTime>0</o:TotalTime>
  <o:LastPrinted>1601-01-01T00:00:00Z</o:LastPrinted>
  <o:Created>2001-04-05T14:30:00Z</o:Created>
  <o:LastSaved>2001-04-05T14:30:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Company>Microsoft</o:Company>
  <o:Lines>1</o:Lines>
  <o:Paragraphs>1</o:Paragraphs>
  <o:Version>9.2812</o:Version>
 </o:DocumentProperties>
 <o:CustomDocumentProperties>
  <o:Version dt:dt="string">9.0.2111</o:Version>
  <o:Langue dt:dt="string">1036</o:Langue>
 </o:CustomDocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
  <w:DisplayVerticalDrawingGridEvery>0</w:DisplayVerticalDrawingGridEvery>
  <w:UseMarginsForDrawingGridOrigin/>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:Arial;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
h1
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:1;
font-size:18.0pt;
mso-bidi-font-size:16.0pt;
font-family:Arial;
mso-bidi-font-family:"Times New Roman";
mso-font-kerning:16.0pt;}
h2
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:2;
font-size:12.0pt;
mso-bidi-font-size:14.0pt;
font-family:Arial;
mso-bidi-font-family:"Times New Roman";
font-style:italic;}
h3
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:3;
font-size:12.0pt;
mso-bidi-font-size:13.0pt;
font-family:Arial;
mso-bidi-font-family:"Times New Roman";}
h4
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:4;
font-size:14.0pt;
font-family:Arial;
mso-bidi-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
@page Section1
{size:595.45pt 841.7pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
 /* List Definitions */
@list l0
{mso-list-id:154761941;
mso-list-type:hybrid;
mso-list-template-ids:58383134 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1
{mso-list-id:383023568;
mso-list-type:hybrid;
mso-list-template-ids:-322653530 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l2
{mso-list-id:1389573763;
mso-list-type:hybrid;
mso-list-template-ids:-487837828 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l2:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l3
{mso-list-id:1468007735;
mso-list-type:hybrid;
mso-list-template-ids:-1756495640 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l3:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="3074"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=FR link=blue vlink=purple style='tab-interval:36.0pt'>
<H2>Formulaire de renseignement</H2>
<FORM
ACTION="mailto:xxx@domaine.tld?subject=Formulaire de renseignement" METHOD="post"
ENCTYPE="text/plain">
Nom: <Input type="Text"
NAME="Nom" SIZE="25"><br>
Adresse: <Input type="Text"
Name="Adresse" size="30"<BR><BR>
Commune: <input Type="Text"
Name="commune" Size="20">
Code postal: <input
TYPE="TEXT" NAME="Code postal"
SIZE="4"MAXLENGTH="4"<BR><BR>
Téléphone: <Input type="Text"
Name="Téléphone" size="20"<BR>

<HR>
<TEXTAREA NAME="récit"
COLS="45" ROWS="5" WARP="virtual">Description de votre évènement :</TEXTAREA>
<BR>
<Input type="Submit" Value="Envoyer">
<Input type="reset" Value="Effacer">
</FORM>
<div class=Section1>

<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>

</div>

</body>

</html>


ACTION="mailto:xxx@domaine.tld?subject=Formulaire de renseignement" METHOD="post"

Il n'y a que cette ligne à changer par ton adresse mail ainsi que le sujet du formulaire...

Bien à toi,
Thispy