Skip to content

Guilherme-fagundes/mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mail

PHP from Packagist Latest Stable Version Total Downloads License Build Quality Score

A simple class email send

Instalation

composer require coffeebreaks/mail
Example
$mail = new \coffeebreaks\Mail();
$mail->config('smtp.your-host.com', 'your-user',
    'you-pass', port);
$mail->add('[email protected]', 'Suport',
    '[email protected]', 'Test classe Mail',
    "This is a email with <b>PhpMailer</b> and generic class <i>Mail</i>");

if ($mail->getResult()){
    echo "Success :)";
}