Bonjour à tous

Cela fait plusieurs semaines que je voyage sur les forum, le net pour trouver une solution ... mais je ne trouve pas

Alors voila j'utilise

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
$config['protocol'] = 'smtp';
$config['useragent'] = 'phpmailer';
//$config['mailpath'] = '/usr/sbin/sendmail';
$config['smtp_host'] = 'smtp.gmail.com';
$config['smtp_user'] = 'monadresse@gmail.com';
$config['smtp_pass'] = 'monpwd';
$config['_smtp_auth'] = FALSE;
$config['smtp_port'] = 465;
$config['smtp_timeout'] = 30;
$config['smtp_crypto'] = 'ssl';                       // '' or 'tls' or 'ssl'
$config['charset'] = 'UTF-8';
$config['validate'] = true;
$config['mailtype'] = 'html';
$config['wordwrap'] = FALSE;
$config['wrapchars'] = 70;
$config['validate'] = FALSE;
$config['priority'] = 3;                                // 1, 2, 3, 4, 5
$config['newline'] = "\r\n";
$config['crlf'] = "\r\n";
$config['bcc_batch_mode'] = false;
$config['bcc_batch_size'] = 200;
Ça me retourne ceci :

INFO: Selecting SMTP Protocol.
SMTP ERROR: Failed to connect to server: Connection timed out (110)SMTP connect() failed.
ERROR: PHPMailer has encountered an error. SMTP connect() failed.

Merci d'avance de votre aide !