coffeebreaks / mail
A simple class email send
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/coffeebreaks/mail
Requires
- php: >=7.1
- phpmailer/phpmailer: ^6.9.3
README
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('suport@example.com', 'Suport', 'your-mail@domain.com', 'Test classe Mail', "This is a email with <b>PhpMailer</b> and generic class <i>Mail</i>"); if ($mail->getResult()){ echo "Success :)"; }