Bonjour a tous , j’espère que tout le monde se porte bien !

Voici mon problème ,j'ai créer un formulaire html :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
<form name=form_coordonnees" method=POST action=sendmail2.php>
Je voudrais recevoir les donées sur mon email , pour cela j'utilise phpmailer , voici le sender sendmail2.php :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
<?php
 
include_once("class.phpmailer.php");
 
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->SMTPAuth = true;
$mail->Host = "smtp.gmail.com";
 
$mail->SMTPSecure = "ssl	";
$mail->Port = "465";
 
$mail->Username = "monemail@gmail.com";
$mail->Password = "monmotdepasse";
 
$mail->AddAddress("monemail@gmail.com");
$mail->From = "me";
$mail->FromName = "bof" ;
$mail->Subject = "User Comment";
$mail->IsHTML(true);
foreach($_POST as $variable => $value) {
      $mail->Body .= $variable . ' : ' . $value . '<br/>' . "\r\n";
}
if($mail->Send()) {
   echo "Message sent! Thanks for your comments!";
}
aprés avoir remplis le form ; le sendmail2 m'affiche ça "SMTP Error: Could not connect to SMTP host ( message généré par class.php. why ?