fix mailer
This commit is contained in:
parent
504e9cd782
commit
f407597355
13
src/act.php
13
src/act.php
|
@ -75,9 +75,12 @@ switch($_POST['act']){
|
||||||
|
|
||||||
|
|
||||||
include __DIR__."/config.php";
|
include __DIR__."/config.php";
|
||||||
require __DIR__.'/PHPMailer/PHPMailerAutoload.php';
|
|
||||||
|
|
||||||
$mail = new PHPMailer;
|
require __DIR__.'/PHPMailer/src/Exception.php';
|
||||||
|
require __DIR__.'/PHPMailer/src/PHPMailer.php';
|
||||||
|
require __DIR__.'/PHPMailer/src/SMTP.php';
|
||||||
|
|
||||||
|
$mail = new PHPMailer\PHPMailer\PHPMailer;
|
||||||
$mail->isSMTP();
|
$mail->isSMTP();
|
||||||
//$mail->IsHTML(true);
|
//$mail->IsHTML(true);
|
||||||
//$mail->SMTPDebug = 2;
|
//$mail->SMTPDebug = 2;
|
||||||
|
@ -171,9 +174,11 @@ switch($_POST['act']){
|
||||||
//send e-mail
|
//send e-mail
|
||||||
|
|
||||||
include __DIR__."/config.php";
|
include __DIR__."/config.php";
|
||||||
require __DIR__.'/PHPMailer/PHPMailerAutoload.php';
|
require __DIR__.'/PHPMailer/src/Exception.php';
|
||||||
|
require __DIR__.'/PHPMailer/src/PHPMailer.php';
|
||||||
|
require __DIR__.'/PHPMailer/src/SMTP.php';
|
||||||
|
|
||||||
$mail = new PHPMailer;
|
$mail = new PHPMailer\PHPMailer\PHPMailer;
|
||||||
$mail->isSMTP();
|
$mail->isSMTP();
|
||||||
//$mail->IsHTML(true);
|
//$mail->IsHTML(true);
|
||||||
//$mail->SMTPDebug = 2;
|
//$mail->SMTPDebug = 2;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user