diff --git a/mail-smtp.php b/mail-smtp.php index f018057..45fdfa0 100644 --- a/mail-smtp.php +++ b/mail-smtp.php @@ -18,6 +18,10 @@ $mail->Password = $_POST['password']; // Client's password if ($_POST['encryption'] != "none") { $mail->SMTPSecure = $_POST['encryption']; } +else { + $mail->SMTPSecure = false; + $mail->SMTPAutoTLS = false; +} $mail->Port = $_POST['port']; // SMTP Port // Mail configuration diff --git a/php-mail-sender.zip b/php-mail-sender.zip index 6fabfd9..6246f3e 100644 Binary files a/php-mail-sender.zip and b/php-mail-sender.zip differ