This is simple implimitation of PHPMailer made by Marcus Bointon, Jim Jagielski, Andy Prevost and Brent R. Matzelle (The names are by the README.md from 28 August 2019) for the ulole-framework
php uppm install phpmailer
Code Example
<?php
$mail = new modules\phpmailer\PHPMailer;
$mail->isSMTP();
$mail->Host = 'SERVER';
$mail->Port = 25;
$mail->SMTPAuth = true;
$mail->Username = 'USERNAME';
$mail->Password = 'PASSWORD';
$mail->setFrom('test@test.com', 'Hello');
$mail->addAddress("test2@test.com");
$mail->Subject = 'World';
$mail->msgHTML("Hello World!!!");
if ($mail->send())
echo "sent";
else
die("".$mail->ErrorInfo);