Accueil > Forum > > > > email incomplet club internet
email incomplet club internet
lundi 29 janvier 2007 à 10:13:19 |
email incomplet club internet

cseagle
|
Bonjour, J'ai un script classique d'envoi de newsletter html qui fonctionne très bien sauf sur club internet ou le contenu de mon mail est coupé en plein milieu. Quelqu'un a t-il déjà eu ce problème ? Une solution ? Voici ma fonction : function envoi_news($exp,$dest,$nom,$bcc,$message,$sujet) { $mail_mime = "Organization: Nom\n"; $mail_mime = "From: ".$nom." <".$exp.">\n"; $mail_mime .= "Reply-To: ".$exp."\n"; $mail_mime .= "Return-Path: <".$exp.">\n"; // En cas d' erreurs $mail_mime .= "X-Sender: <".$exp.">\n"; $mail_mime .= "BCc: ".$bcc."\n"; $mail_mime .= "MIME-Version: 1.0\n"; $mail_mime .= "Content-Type: text/html; charset=ISO-8859-1\n "; $mail_mime .= "Content-Transfer-Encoding: 8bit \n"; if(!mail($dest,$sujet,$message,$mail_mime)) { return false; } else { return true; } }et mon code $mailing = new template ('mailing/mail.php','debug'); $mailing->bloc('CONTENU', array('CONTENU'=>html_entity_decode($_POST['contenu'],ENT_QUOTES))); $mailing->variable('DATE','TEST - Newsletter du '.date('d-m-Y')); $mailing->bloc('BLOC_VIDE', array('VIDE'=>'')); $envoi= $mailing->traitement(); // on traite l'affichage // Envoi de la news $sujet='TEST - Newsletter du '.date('d-m-Y'); envoi_news('email@monsite.com','email@monsite.com,'Nom','mesmails@monsite.com',$envoi,$sujet);
|
|
lundi 29 janvier 2007 à 10:16:00 |
Re : email incomplet club internet

cseagle
|
Un exemple de news <!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">
<head>
<title>Atlantic Ciné - L'actualité de la semaine</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
}
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="http://www.atlantic-cine.fr/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><a href="http://www.atlantic-cine.fr" target="_blank"><img src="http://www.atlantic-cine.fr/templates/mailing/images/tete.jpg" width="450" height="105" border="0" /></a></td>
</tr>
<tr>
<td height="20" align="center" valign="middle" class="blanc10">TEST - Newsletter du 29-01-2007</td>
</tr>
<tr>
<td><img src="http://www.atlantic-cine.fr/templates/mailing/images/haut.jpg" width="450" height="20" /></td>
</tr>
<tr>
<td align="center" valign="top" background="http://www.atlantic-cine.fr/templates/mailing/images/fond.jpg">
<!--CONTENU--><!--Bloc1--><table width="420" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="middle" align="left" class="rougeb"><img width="14" height="14" border="0" align="absmiddle" src="http://www.atlantic-cine.fr/templates/mailing/images/puce.jpg" /> Titre de l'actualité </td> </tr> <tr> <td valign="top" align="right"><table width="410" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="top" align="left" style="width: 325px">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec molestie. Sed aliquam sem ut arcu. Phasellus sollicitudin. Vestibulum condimentum facilisis nulla. In hac habitasse platea dictumst. Nulla nonummy. Cras quis libero. Cras venenatis. Aliquam posuere lobortis pede. Nullam fringilla urna id leo. Praesent aliquet pretium erat. Praesent non odio. Pellentesque a magna a mauris vulputate lacinia. Aenean viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Aliquam lacus. Mauris magna eros, semper a, tempor et, rutrum et, tortor. <br /> <a href="http://www.atlantic-cine.fr">En savoir plus </a></td> <td valign="top" align="center" style="width: 85px"><img width="80" height="104" border="0" class="bordure" src="http://www.atlantic-cine.fr/templates/mailing/images/DVD.jpg" /></td> </tr> </tbody></table></td> </tr> </tbody></table> <!--/Bloc1--> <!--Bloc2--> <table width="420" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="middle" align="left" class="rougeb"><br /> <img width="14" height="14" border="0" align="absmiddle" src="http://www.atlantic-cine.fr/templates/mailing/images/puce.jpg" /> Titre de l'actualité </td> </tr> <tr> <td valign="top" align="right"><table width="410" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="top" align="left" style="width: 325px">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec molestie. Sed aliquam sem ut arcu. Phasellus sollicitudin. Vestibulum condimentum facilisis nulla. In hac habitasse platea dictumst. Nulla nonummy. Cras quis libero. Cras venenatis. Aliquam posuere lobortis pede. Nullam fringilla urna id leo. Praesent aliquet pretium erat. Praesent non odio. Pellentesque a magna a mauris vulputate lacinia. Aenean viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Aliquam lacus. Mauris magna eros, semper a, tempor et, rutrum et, tortor. <br /> <a href="http://www.atlantic-cine.fr">En savoir plus </a></td> <td valign="top" align="center" style="width: 85px"><img width="80" height="104" border="0" class="bordure" src="http://www.atlantic-cine.fr/templates/mailing/images/DVD.jpg" /></td> </tr> </tbody></table></td> </tr> </tbody></table> <!--/Bloc2--><!--Bloc1--><table width="420" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="middle" align="left" class="rougeb"><img width="14" height="14" border="0" align="absmiddle" src="http://www.atlantic-cine.fr/templates/mailing/images/puce.jpg" /> Titre de l'actualité </td> </tr> <tr> <td valign="top" align="right"><table width="410" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="top" align="left" style="width: 325px">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec molestie. Sed aliquam sem ut arcu. Phasellus sollicitudin. Vestibulum condimentum facilisis nulla. In hac habitasse platea dictumst. Nulla nonummy. Cras quis libero. Cras venenatis. Aliquam posuere lobortis pede. Nullam fringilla urna id leo. Praesent aliquet pretium erat. Praesent non odio. Pellentesque a magna a mauris vulputate lacinia. Aenean viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Aliquam lacus. Mauris magna eros, semper a, tempor et, rutrum et, tortor. <br /> <a href="http://www.atlantic-cine.fr">En savoir plus </a></td> <td valign="top" align="center" style="width: 85px"><img width="80" height="104" border="0" class="bordure" src="http://www.atlantic-cine.fr/templates/mailing/images/DVD.jpg" /></td> </tr> </tbody></table></td> </tr> </tbody></table> <!--/Bloc1--> <!--Bloc2--> <table width="420" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="middle" align="left" class="rougeb"><br /> <img width="14" height="14" border="0" align="absmiddle" src="http://www.atlantic-cine.fr/templates/mailing/images/puce.jpg" /> Titre de l'actualité </td> </tr> <tr> <td valign="top" align="right"><table width="410" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="top" align="left" style="width: 325px">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec molestie. Sed aliquam sem ut arcu. Phasellus sollicitudin. Vestibulum condimentum facilisis nulla. In hac habitasse platea dictumst. Nulla nonummy. Cras quis libero. Cras venenatis. Aliquam posuere lobortis pede. Nullam fringilla urna id leo. Praesent aliquet pretium erat. Praesent non odio. Pellentesque a magna a mauris vulputate lacinia. Aenean viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Aliquam lacus. Mauris magna eros, semper a, tempor et, rutrum et, tortor. <br /> <a href="http://www.atlantic-cine.fr">En savoir plus </a></td> <td valign="top" align="center" style="width: 85px"><img width="80" height="104" border="0" class="bordure" src="http://www.atlantic-cine.fr/templates/mailing/images/DVD.jpg" /></td> </tr> </tbody></table></td> </tr> </tbody></table> <!--/Bloc2--><!--Bloc1--><table width="420" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="middle" align="left" class="rougeb"><img width="14" height="14" border="0" align="absmiddle" src="http://www.atlantic-cine.fr/templates/mailing/images/puce.jpg" /> Titre de l'actualité </td> </tr> <tr> <td valign="top" align="right"><table width="410" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="top" align="left" style="width: 325px">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec molestie. Sed aliquam sem ut arcu. Phasellus sollicitudin. Vestibulum condimentum facilisis nulla. In hac habitasse platea dictumst. Nulla nonummy. Cras quis libero. Cras venenatis. Aliquam posuere lobortis pede. Nullam fringilla urna id leo. Praesent aliquet pretium erat. Praesent non odio. Pellentesque a magna a mauris vulputate lacinia. Aenean viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Aliquam lacus. Mauris magna eros, semper a, tempor et, rutrum et, tortor. <br /> <a href="http://www.atlantic-cine.fr">En savoir plus </a></td> <td valign="top" align="center" style="width: 85px"><img width="80" height="104" border="0" class="bordure" src="http://www.atlantic-cine.fr/templates/mailing/images/DVD.jpg" /></td> </tr> </tbody></table></td> </tr> </tbody></table> <!--/Bloc1--> <!--Bloc2--> <table width="420" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="middle" align="left" class="rougeb"><br /> <img width="14" height="14" border="0" align="absmiddle" src="http://www.atlantic-cine.fr/templates/mailing/images/puce.jpg" /> Titre de l'actualité </td> </tr> <tr> <td valign="top" align="right"><table width="410" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td valign="top" align="left" style="width: 325px">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec molestie. Sed aliquam sem ut arcu. Phasellus sollicitudin. Vestibulum condimentum facilisis nulla. In hac habitasse platea dictumst. Nulla nonummy. Cras quis libero. Cras venenatis. Aliquam posuere lobortis pede. Nullam fringilla urna id leo. Praesent aliquet pretium erat. Praesent non odio. Pellentesque a magna a mauris vulputate lacinia. Aenean viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Aliquam lacus. Mauris magna eros, semper a, tempor et, rutrum et, tortor. <br /> <a href="http://www.atlantic-cine.fr">En savoir plus </a></td> <td valign="top" align="center" style="width: 85px"><img width="80" height="104" border="0" class="bordure" src="http://www.atlantic-cine.fr/templates/mailing/images/DVD.jpg" /></td> </tr> </tbody></table></td> </tr> </tbody></table> <!--/Bloc2--><!--/CONTENU--></td>
</tr>
<tr>
<td><img src="http://www.atlantic-cine.fr/templates/mailing/images/bas.jpg" width="450" height="20" /></td>
</tr>
<tr>
<td class="blanc10" align="center" valign="top">Parc Atlantique – Les Coteaux<br />
La-Champagne-Saint-Georges 17100 Saintes<br />
Tél. : 05 46 92 49 60 Fax : 05 46 92 49 61<br />
<a href="http://www.atlantic-cine.fr/news.php" target="_blank" class="lienblanc">
Se désinscrire</a></td>
</tr>
</table>
<br />
</body>
</html>
|
|
mercredi 31 janvier 2007 à 10:08:46 |
Re : email incomplet club internet

cseagle
|
C'est arrivé à persone ? Persone pour m'aider ?
Snif ^'
|
|
Cette discussion est classée dans : mail, envoi, email, mime, mailing
Répondre à ce message
Sujets en rapport avec ce message
Probleme envoi mail a cause de PHP_SELF [ par 73manu73 ]
Bonjour, J'ai trouvé un script php d'envoi mail que j'ai quelque peu modifié à ma convenace. Deux questions se posent à moi : 1. Lorsque j'utilise
Envoi d'email Multi Destinataire [ par R3dDragon ]
Bonjour,J'ai une question, sa fait quelques jours que je programme mon nouveau site web, et là je tombe sur un problème, j'aimerais suite à formulaire
envoi multiple de mail [ par GADSN ]
bonjourj'ai une petite question : je suis entrtain d'envoyer des mails periodiquement pour les adherants de mon site ; le probleme c'est que quelques
Envoi newsletter, mailing [ par morpheus262 ]
Bonjour,Je désire envoyer un mail à tous les membres de mon site (ayant choisi de le recevoir), et cela tous les deux jours en moyennes, pour les info
Envoi d'un email [ par atchoumen ]
Bonjour,Cela va faire quelques jours que je suis à la recherche d'un script simple pour l'envoi d'un email en ajax.En php j'utilise donc logiquement l
Php, formulaire SPAM ! [ par xeroxiss ]
Bonjour, Voila j'ai un petit soucis...Je voudrait mettre en place un petit formulaire de contact qui ne mange pas de pain..Donc sans MySQL, (déja parc
Probleme type MIME [ par Cisaks ]
Bonjour,Je ne comprend pas car lors de l'envoi d'un email j'attache un fichier qui à été prealablement uploader sur mon serveur. Après l'envoi j'ai af
Envoie d' email bloqué. [ par marcantoine93 ]
Bonjour à tous (J'avais envoyé un premier post vide, j'espère afficher le contenu du message cette fois-ci),En ce moment je suis en train de tester un
envoi d'un email [ par dalitch ]
bonjour, je veux envouer un email qui contient le contenu d'une table. Le pb c'est que je recoit le mail mais il est vide. Comment je peux récupérer l
envoi de mail par une camera IP [ par jmp09 ]
j ai connecte une camera IP a ma neuf box: elle fonctionne mais je ne parviens pas a parametrer mon "mail server" pour que la camera envoie des mails
Livres en rapport
|
Derniers Blogs
GESTION D'EXCEPTION AVEC LES TASKSGESTION D'EXCEPTION AVEC LES TASKS par richardc
Nous avons vu dans un précédent article comment utiliser Task pour effectuer des opérations dans un autre thread.
Malheureusement, comme tout le monde n'est pas parfait, il se peut que cette exécution se passe mal et qu'une exception se produise.
La...
Cliquez pour lire la suite de l'article par richardc DéMARRONS AVEC LES TASKSDéMARRONS AVEC LES TASKS par richardc
Que vous le vouliez ou non, le développement multi-tâche est maintenant une obligation pour toute nouvelle application. Il est donc vital d'en comprendre les mécanismes et de s'y mettre le plus tôt possible.
En attendant le .NET Framework 4.5 avec le...
Cliquez pour lire la suite de l'article par richardc SLIDE & DéMO TECHDAYS 2012 - FAST & FURIOUS XAML APPSSLIDE & DéMO TECHDAYS 2012 - FAST & FURIOUS XAML APPS par Vko
Retrouvez les slides et les démo de ma session Fast & Furious XAML Apps. A ceux qui se posent la question : "est-ce que le code de la DataGrid est disponible?", je vous répondrais "pas encore". Je vais mettre en place un projet codeplex pour part...
Cliquez pour lire la suite de l'article par Vko XNA IS DEAD!XNA IS DEAD! par richardc
Depuis la semaine dernière (et grâce aux TechDays 2012), je me penche activement sur la nouvelle version de Windows, aka Windows 8. Vous me direz, il était temps puisque la première preview date de Septembre dernier.
OK. Remarquez, on n'en est qu'aux...
Cliquez pour lire la suite de l'article par richardc TECHDAYS PARIS 2012 : WINDOWS SERVER "8" QUOI DE 9 !TECHDAYS PARIS 2012 : WINDOWS SERVER "8" QUOI DE 9 ! par ROMELARD Fabrice
Speakers: Fabrice Meillon et Stanislas Quastana Cette session est basée entièrement sur celle donnée lors de la BUILD cet hiver. Il n'y a pas d'ajout d'information en rapport avec cet évènement passé. Windows 8 Server sera intégralem...
Cliquez pour lire la suite de l'article par ROMELARD Fabrice
Logiciels
DocTranslate (V3.1.0.0)DOCTRANSLATE (V3.1.0.0)DocTranslate est un traducteur de document Microsoft Word, PowerPoint et Excel. Il permet d'autom... Cliquez pour télécharger DocTranslate Tribler (2012)TRIBLER (2012)Tribler est un client pair à pair (P2P/Peer-to-Peer) open source avec la capacité de regarder des... Cliquez pour télécharger Tribler OneSwarm (2012)ONESWARM (2012)Le peer-to-peer qui protège votre vie privée, c'est OneSwarm.
Ce logiciel de peer-to-peer crypté... Cliquez pour télécharger OneSwarm PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)PONAMEDIA TV DEVIENS HELLLOOO FLASH
LA TV SUR VOTRE ORDINATEUR.
Toute une plateforme Multi... Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO Academy System (17.2.1.0)ACADEMY SYSTEM (17.2.1.0)Logiciel de gestion des établissements.
- élèves/étudiants (inscription, dossier, absence...)
-... Cliquez pour télécharger Academy System
|