Bonjour,
J'aimerai creer une campagne emailing. J'ai la base de donnee et j'ai le mail qui est deja pret en html.
J'aimerai avoir vos opinions pour savoir quel est le meilleur moyen de proceder pour envoyer en masse. (envoyer en php, passer par un systeme tout fait ...)
Merci a vous
Bonjour,
pour un temps à mon boulot, je l'avais fait moi même, j'avais calé mon template au poil de cul pour qu'il soit le moins possible dans les blocages.
j'utilisais PHPMailer qui envoyait 3 mails espacés de 10 secondes toutes les minutes via un serveur HMailServer.
Mon domaine était paramétré par mon admin pour le DKIM et compagnie.
j'envoyais en tant que le responsable clientelle au client donc plus de chance d'ouverture.
Sur le site https://www.talosintelligence.com/reputation_center/ je passais en réputation bonne (à la place de neutre) et j'avais un taux d'ouverture de 51% en moyenne.
Je peux chercher le template si ca t'interresse.
Désolé du retard :
Description des variables:
fontcolor : couleur HTML de la police
bodycolor : couleur HTML du background
FirstLine : Ligne masqué qui apparait dans Outlook sous le titre mais pas forcement dans le mail (hidden).
HTMLHeader : une image ou entete de mail
HTMLMessage : le corps du message en HTML (sortie de ckeditor)
from_signature : la signature (on envoyait le mail en tant que le commercial)
HTMLFooter : image ou autre (idem HEADER)
$message = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="-webkit-text-size-adjust:none;">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width; initial-scale=0.666667; maximum-scale=0.666667; user-scalable=0" />
<meta name="viewport" content="width=device-width" />
<title></title>
<style type="text/css"> .wrapper { width:800px; }
.wrapper img { width:100%; }
a{
font-color:' . $this->data['fontcolor'] . ';
color:' . $this->data['fontcolor'] . ';
text-decoration: underline;
}
*{
font-color:' . $this->data['fontcolor'] . ';
color:' . $this->data['fontcolor'] . ';
}
a:visited
{
font-color:' . $this->data['fontcolor'] . ';
color:' . $this->data['fontcolor'] . ';
text-decoration: underline;
}
<!--[if Mobile] --> .wrapper { width:100%; }<![endif]-->
@media all and (max-width:590px)
{ *[class].responsive { width:290px !important; }
*[id]#center { width:50%; margin:0 auto; display:table; }
*[class].responsive-spacer table { width:20px !important; }
*[class].vspacer { margin-top:10px !important; margin-bottom:15px !important; margin-left:0 !important; }
*[class].res-font14 { font-size:14px !important; }
*[class].res-font16 { font-size:16px !important; }
*[class].res-font13 { font-size:13px !important; }
*[class].res-font12 { font-size:12px !important; }
*[class].res-font10 { font-size:10px !important; }
*[class].res-font18 { font-size:18px !important; }
*[class].res-font18 span { font-size:18px !important; }
*[class].responsive-50per { width:100% !important; }
*[class].responsive-spacer70 { width:70px !important; }
*[class].hideIMG { height:0px !important; width:0px !important; }
*[class].res-height30 { height:30px !important; }
*[class].res-height20 { height:20px !important; }
*[class].res-height20 div { height:20px !important; }
*[class].res-height10 { height:10px !important; }
*[class].res-height10 div { height:10px !important; }
*[class].res-height10.email-spacer div { height:10px !important; min-height:10px !important; line-height:10px !important; font-size:10px !important; }
*[class].res-height0 { height:0px !important; }
*[class].res-height0 div { height:0px !important; }
*[class].res-width280 { width:280px !important; }
*[class].res-width25 { width:25px !important; }
*[class].res-width10 { width:10px !important; }
*[class].res-width10 table { width:10px !important; }
*[class].res-width120 { width:120px !important; }
*[class].res-padding { width:0 !important; }
*[class].res-padding table { width:0 !important; }
*[class].cellpadding-none { width:0px !important; }
*[class].cellpadding-none table { border:collapse !important; }
*[class].cellpadding-none table td { padding:0 !important; }
*[class].display-none { display:none !important; }
*[class].display-block { display:block !important; }
*[class].remove-margin { margin:0 !important; }
*[class].remove-border { border:none !important; }
*[class].res-img60 { width:60px !important; height:60px !important; } *[class].res-img75 { width:75px !important; height:75px !important; }
*[class].res-img100 { width:100px !important; height:100px !important; } *[class].res-img320 { width:320px !important; height:auto !important; position:relative; }
*[class].res-img90x63 { width:90px !important; height:63px !important; }
*[class].res-border { border-top:1px solid #E1E1E1 !important; }
*[class].responsive2col { width:100% !important; }
*[class].center-content { text-align:center !important; }
*[class].hide-for-mobile { display:none !important; }
*[class].show-for-mobile { width:100% !important; max-height:none !important; visibility:visible !important; overflow:visible !important; float:none !important; height:auto !important; display:block !important; }
*[class].responsive-table { display:table !important; }
*[class].responsive-row { display:table-row !important; }
*[class].responsive-cell { display:table-cell !important; }
*[class].fix-table-content { table-layout:fixed; }
*[class].res-padding08 { padding-top:8px; }
*[class].header-spacer { table-layout:auto !important; width:250px !important; }
*[class].header-spacer td, *[class].header-spacer div { width:250px !important; }
*[class].hero_bg { background-image:none !important; }
*[class].show_hero { max-height:none !important; visibility:visible !important; overflow:visible !important; float:none !important; display:table-cell !important; width:270px !important; }
*[class].cta_text { max-height:none !important; visibility:visible !important; overflow:visible !important; float:none !important; display:table-cell !important; width:100% !important; font-size:12px !important; }
*[class].left_10 { padding-left:10px; }
*[class].limit_4_items:nth-child(n+8) { display:none !important; }
}
</style>
</head>
<body style="background-color:' . $this->data['bodycolor'] . ';padding:0;margin:0 auto;width:100%;">';
if ($this->data['FirstLine'] != '')
{
$message .= '<span style="display: none !important;font-size: 1px;visibility: hidden;opacity: 0;color: transparent;height: 0;width: 0;mso-hide: all;">' . ($this->data['FirstLine']) . '</span>';
}
$message .= '<table class="wrapper" align="center"><tr><td><table border="0" cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif; border-collapse:collapse; width:100% !important; font-family:Helvetica,Arial,sans-serif; margin:0; padding:0;" width="100%" bgcolor="' . $this->data['bodycolor'] . '">
<tbody>
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="table-layout: fixed;">
<tbody>';
if ($this->data['HTMLHeader'] != '')
{
$message .= '<tr><td align="center" style="max-width:100%;margin-bottom:10px;">' . $this->data['HTMLHeader'] . '</td></tr>';
}
$message .= '<tr>
<td align="left" style="margin-bottom:10px;">
' . $this->data['HTMLMessage'] . '
</td>
</tr>';
if ($this->data['from_signature'] != '')
{
$message .= '<tr><td>' . ($this->data['from_signature']) . BRN . BRN . '</td></tr>';
}
if ($this->data['HTMLFooter'] != '')
{
$message .= '<tr><td>' . $this->data['HTMLFooter'] . '</td></tr>';
}
$message .= '</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</body>
</html>';