mattmezza / php-mail-msg
Need to send an email from your webserver's MTA using the mail() function??
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mattmezza/php-mail-msg
This package is auto-updated.
Last update: 2025-09-17 12:47:41 UTC
README
Need to send an email from your webserver's MTA using the mail() function??
composer require mattmezza/php-mail-msg
$mail = new PHPMailMsg\Mail($to, $subject, $body, $replyTo, $from); //you can specify a $mailer as last param if($mail->send()) { //mail msg has been sent } else { // Ooopss }
The library uses the default mail(...)
function and has been made with demonstration purposes.
Matteo Merola mattmezza@gmail.com