File "PHPMail.php"
Full Path: /home/warrior1/public_html/wp-content-20241001222009/plugins/mailpoet/lib/Mailer/Methods/PHPMail.php
File size: 348 bytes
MIME-type: text/x-php
Charset: utf-8
<?php declare(strict_types = 1);
namespace MailPoet\Mailer\Methods;
if (!defined('ABSPATH')) exit;
use PHPMailer\PHPMailer\PHPMailer;
class PHPMail extends PHPMailerMethod {
public function buildMailer(): PHPMailer {
$mailer = new PHPMailer(true);
// send using PHP's mail() function
$mailer->isMail();
return $mailer;
}
}