phpmailer passwort reset
This commit is contained in:
@ -4,13 +4,13 @@ use PHPMailer\PHPMailer\SMTP;
|
||||
use PHPMailer\PHPMailer\Exception;
|
||||
|
||||
//Load Composer's autoloader
|
||||
require __DIR__.'../../vendor/autoload.php';
|
||||
require '../../vendor/autoload.php';
|
||||
|
||||
//Load Composer's autoloader
|
||||
require __DIR__.'./classes/lib.php';
|
||||
require './classes/lib.php';
|
||||
|
||||
//Create an instance; passing `true` enables exceptions
|
||||
$mail = new CNetcupMailer(true);
|
||||
//$mail = new PHPMailer(true);
|
||||
|
||||
|
||||
try {
|
||||
@ -26,9 +26,11 @@ try {
|
||||
//Attachments
|
||||
|
||||
//Content
|
||||
$mail->Subject = 'jo subject jo XXXXX';
|
||||
$mail->Body = 'XXXX This is the txt message bodyThis is the txt message body This is the txt message bodyThis is the txt message body';
|
||||
$mail->Subject = 'aaaa jo subject jo XXXXX';
|
||||
$mail->Body = 'aaaaaa XXXX This is the txt message bodyThis is the txt message body This is the txt message bodyThis is the txt message body';
|
||||
|
||||
// $mail->send();
|
||||
// echo 'Message has been NOT sent';
|
||||
$mail->send();
|
||||
echo 'Message has been sent';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user