Phpmailer 5.1
NDOUKI
Messages postés
110
Date d'inscription
Statut
Membre
Dernière intervention
-
nag95 Messages postés 22 Date d'inscription Statut Membre Dernière intervention -
nag95 Messages postés 22 Date d'inscription Statut Membre Dernière intervention -
Bonsoir,
voici mon problème: je ne parviens pas à envoyer mon mail pourtant mon code semble clair.
si quelqu'un a une solution svp help
voici mon code
$mail = new PHPmailer();
$mail->IsSMTP();
$mail->Host='smtp.gmail.com';
$mail->SMTPDebug = 0;
$mail->Port = 465;
$mail->SMTPAuth = true;
$mail->Username = "xxxx@gmail.com";
$mail->Password = "xxxxx";
$mail->From='xxx@gmail.com';
$mail->AddAddress('xxxx@yahoo.fr');
$mail->AddReplyTo('xxx@gmail.com');
$mail->Subject='sujet test';
$mail->Body='texte test';
if(!$mail->Send()){
echo $mail->ErrorInfo;
}
else{
echo 'Mail sent';
}
$mail->SmtpClose();
unset($mail);
voici mon problème: je ne parviens pas à envoyer mon mail pourtant mon code semble clair.
si quelqu'un a une solution svp help
voici mon code
$mail = new PHPmailer();
$mail->IsSMTP();
$mail->Host='smtp.gmail.com';
$mail->SMTPDebug = 0;
$mail->Port = 465;
$mail->SMTPAuth = true;
$mail->Username = "xxxx@gmail.com";
$mail->Password = "xxxxx";
$mail->From='xxx@gmail.com';
$mail->AddAddress('xxxx@yahoo.fr');
$mail->AddReplyTo('xxx@gmail.com');
$mail->Subject='sujet test';
$mail->Body='texte test';
if(!$mail->Send()){
echo $mail->ErrorInfo;
}
else{
echo 'Mail sent';
}
$mail->SmtpClose();
unset($mail);
A voir également:
- Phpmailer 5.1
- Ultimate windows tweaker 5.1 - Guide
- Photofiltre 5.1 gratuit - Télécharger - Retouche d'image
- Jbl bar 5.1 hdmi arc problem ✓ - Forum Enceintes / HiFi
- Barre de son jbl 5.1 problème - Forum Enceintes / HiFi
- Francais 5.1 - Forum Téléviseurs