isSMTP(); $mail->Host=SMTP_SERVEUR; //$mail->SMTPKeepAlive=true;// maintient de la connexion pour éventuellement envoyer +sieurs mail (donc à fermer dans le script appelant) if(!empty(SMTP_PASSE)) { $mail->SMTPAuth=true; $mail->Username=SMTP_NAME; $mail->Password=SMTP_PASSE; } if(!empty(SMTP_PORT)) $mail->Port=SMTP_PORT; if(!empty(SMTP_SECURE)) $mail->SMTPSecure=SMTP_SECURE; } $mail->setLanguage(PHPMAIL_LANG);