This commit is contained in:
emmymayo
2025-02-05 23:15:46 +01:00
commit 7269c99357
16995 changed files with 3389680 additions and 0 deletions
@@ -0,0 +1,17 @@
<?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;
}
}