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; |
Partager