fixing smtp 'no encryiption' option
This commit is contained in:
parent
d570336f76
commit
0de2dadd38
|
|
@ -18,6 +18,10 @@ $mail->Password = $_POST['password']; // Client's password
|
||||||
if ($_POST['encryption'] != "none") {
|
if ($_POST['encryption'] != "none") {
|
||||||
$mail->SMTPSecure = $_POST['encryption'];
|
$mail->SMTPSecure = $_POST['encryption'];
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$mail->SMTPSecure = false;
|
||||||
|
$mail->SMTPAutoTLS = false;
|
||||||
|
}
|
||||||
$mail->Port = $_POST['port']; // SMTP Port
|
$mail->Port = $_POST['port']; // SMTP Port
|
||||||
|
|
||||||
// Mail configuration
|
// Mail configuration
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user