change subject and body of test email

This commit is contained in:
Asif Bacchus 2020-07-28 12:13:40 -06:00
parent 7b63a1060c
commit e3abf15011

View File

@ -61,8 +61,8 @@ if (isset($_POST) && !empty($_POST)){
}
// send email IFF no NULL fields
if ($usePort && $useEncryption && $recipient && $replyTo){
$body = 'This is a test message from the AB-GROUP PHP Email Port Tester PHP script. You may ignore this message.';
$subject = 'Test message from AB-GROUP Port Test Script';
$body = 'This is a test message from the Simple PHPMailer Test Script. You may ignore this message.';
$subject = 'PHPMailer Test-Script Message';
$mailResult = sendEmail($SMTP['timeout'], $SMTP['hostname'], $usePort, $useEncryption, $SMTP['username'], $SMTP['password'], $recipient, $replyTo, $body, $subject);
$output .= $mailResult['debug'];
}