Skip to content

mattmezza/php-mail-msg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mail-msg

Need to send an email from your webserver's MTA using the mail() function??

Build Status


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

About

Need to send an email from your webserver's MTA using the mail() function??

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages