From a7de9454ae46ab20663b2219c92f93f16471beb1 Mon Sep 17 00:00:00 2001 From: gine Date: Sun, 16 Oct 2016 17:44:52 +0200 Subject: [PATCH] Aggiunta connessione con mysql --- sender.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sender.php b/sender.php index 2a1dba6..b6ac45b 100644 --- a/sender.php +++ b/sender.php @@ -1,6 +1,8 @@ SMTPDebug = 3; // Enable verbose debug output @@ -42,6 +52,8 @@ while(!feof($file)){ $token = getToken(); $link = generateLink($mlrollmember_url, $token, $ml, $sanitized_mail); $mail->AltBody = $def_body.$link; + + if(!$mail->send()) { echo 'Message could not be sent.';