1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
|
$header = "MINE-Version : 1.0\r\n";
$header .= 'Contact-Type: text/html; charset="utf-8"'."\n";
$header .= 'From:"Contact SUAPS"<contact@thomasdurst.fr>'."\r\n"."X-Mailer: PHP/".phpversion();
$header .= 'Content-Transfer-Encoding: 8Bit';
$subject = "Identifiant création compte SUAPS";
$message = '
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html wmlns:v="urn:schemas-microsoft-com:vml">
<head>
<link href="https://fonts.googleapis.com/css?family=Varela+Round&display=swap" rel="stylesheet">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table bgcolor="#343846" width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<table align="center" width="590" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td height="30" style="font-size: 30px; line-height: 30px"> </td>
</tr>
<tr>
<td align="center" style="text-align: center;">
<a href="https://ppesuaps.thomsdurst.fr" style="text-decoration: none; color: #FFF; font-size:40px;font-family: \'Varela Round\', Helvetica, sans-serif;">SUAPS</a><a href="https://ppesuaps.thomsdurst.fr" style="color: rgb(40, 167,69); text-decoration: none; font-size: 40px;font-family: \'Varela Round\', Helvetica, sans-serif;">.COM</a>
</td>
</tr>
<tr>
<td height="30" style="font-size: 30px; line-height: 30px"> </td>
</tr>
<tr>
<td align="center" style="font-family: \'Varela Round\', Helvetica, sans-serif;text-align: center; font-size: 30px; mso-line-height-rule: exactly;color: #FFF; ;line-height: 26px;">Bienvenue sur le site de SUAPS.COM
</td>
</tr>
<tr>
<td height="30" style="font-size: 30px; line-height: 30px"> </td>
</tr>
<tr>
<td align="center" style="font-family: Helvetica, sans-serif; text-align: center; font-size: 17px; mso-line-height-rule: exactly;color: #878b99; ;line-height: 30px;">Un compte a été créé pour vous sur le site SUAPS.COM. Vous pourrez y accéder dès à présent en cliquant sur le bouton ci-dessous.
</td>
</tr>
<tr>
<td height="30" style="font-size: 30px; line-height: 30px"> </td>
</tr>
<tr>
<td align="center" style="font-family: Helvetica, sans-serif; text-align: center; font-size: 17px; mso-line-height-rule: exactly;color: #878b99; ;line-height: 30px;">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>Voici vos identifiants : </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="7" style="font-size: 7px; line-height: 7px"> </td>
</tr>
<tr>
<td align="center" style="font-family: Helvetica, sans-serif; text-align: center; font-size: 17px; mso-line-height-rule: exactly;color: #878b99; ;line-height: 30px;">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td> - Identifiants : ' . $_POST['pseudo'] . '</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td align="center" style="font-family: Helvetica, sans-serif; text-align: center; font-size: 17px; mso-line-height-rule: exactly;color: #878b99; ;line-height: 30px;">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td> - Mot de passe : '. $mdp .' </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="30" style="font-size: 30px; line-height: 30px"> </td>
</tr>
<tr>
<td align="center" style="font-family: Helvetica, sans-serif; text-align: center; font-size: 17px; mso-line-height-rule: exactly;color: #878b99; ;line-height: 30px;">Pensez à modifier votre mot de passe.
</td>
</tr>
<tr>
<td height="30" style="font-size: 30px; line-height: 30px"> </td>
</tr>
<tr>
<td align="center">
<table align="center" width="450" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="30"><img src="https://ppesuaps.thomasdurst.fr/public/image/g.png" height="60" alt="" style="display: block;"></td>
<td height="60" bgcolor="#28A745"valign="middle" align="center">
<a href="http://ppesuaps.thomasdurst.fr/"style="font-size: 24px; color: #FFF; text-align: center; font-family: Helvetica, sans-serif; text-decoration: none;">Se connecter</a>
</td>
<td width="30"><img src="https://ppesuaps.thomasdurst.fr/public/image/d.png" height="60" alt="" style="display: block;"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="30" style="font-size: 30px; line-height: 30px"> </td>
</tr>
<tr>
<td height="30" style="font-size: 30px; line-height: 30px"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>
';
mail($mail, $subject, $message, $header); |
Partager