Bonjour,
j'utilise un script php pour récupérer des data depuis une application extjs et envoyé le tout à l'utilisateur.
Tout fonctionne... la réception, le traitement et l'envoi du mail, aucune erreur.. seulement je ne reçois jamais mon email.
le script php :
les logs :
reponse :
une piste ?
Merci
j'utilise un script php pour récupérer des data depuis une application extjs et envoyé le tout à l'utilisateur.
Tout fonctionne... la réception, le traitement et l'envoi du mail, aucune erreur.. seulement je ne reçois jamais mon email.
le script php :
Code:
<?php
define( '_JEXEC', 1 );
define( '_VALID_MOS', 1 );
define( 'JPATH_BASE', realpath(dirname(__FILE__).'/../..' ));
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
$mainframe =& JFactory::getApplication('site');
$mainframe->initialise();
// Get POST element
$it00 = $_POST['_usermail'];
$it01 = $_POST['_crd'];
$it02 = $_POST['_mensu'];
$it03 = $_POST['_nep'];
$it04 = $_POST['_dip'];
$it05 = $_POST['_taux'];
$it06 = $_POST['_tf'];
$it07 = $_POST['_dr'];
$it08 = $_POST['_gm'];
$it09 = $_POST['_gt'];
$it10 = $_POST['m_'];
$it11 = $_POST['_mensassu'];
$it12 = $_POST['_ass'];
$mailer->IsSMTP();
$mailer->Mailer = "smtp";
$mailer->Host = "auth.smtp.xxxx.fr";
$mailer->Port = xxxx;
$mailer->SMTPAuth = true; // turn on SMTP authentication
$mailer->Username = "contact@xxxxx.fr"; // SMTP username
$mailer->Password = "xxxx"; // SMTP password
$mailer->From = "contact@xxxxxl.fr";
$mailer->AddAddress($it00);
$mailer->Subject = "test mail";
$mailer->Body = "blabla message";
$mailer->WordWrap = 50;
if(!$mailer->Send()) {
echo 'Message was not sent.';
echo 'Mailer error: ' . $mailer->ErrorInfo;
} else {
echo 'Message has been sent.';
}
?>
Code:
it00 xxxx@xxx.com it01 236549 it02 754 it03 30 it04 133 it05 3.25 it06 250150.5675 it07 103 it08 2082.0301135 it09 214449.10169049999 it10 2786 it11 2836.0301135 it12 50.0301135 Source it00=ibompuis%40mac.com&it01=236549&it02=754&it03=30&it04=133&it05=3.25&it06=250150.5675&it07=103&it08=2082.0301135&it09=214449.10169049999&it10=2786&it11=2836.0301135&it12=50.0301135
Code:
Message has been sent.
une piste ?
Merci

Commentaire