coffeebreaks / mail
A simple class email send
V0.0.3
2020-06-18 14:13 UTC
Requires
- php: >=7.1
- phpmailer/phpmailer: ^6.1
This package is auto-updated.
Last update: 2024-11-22 23:45:47 UTC
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 :)"; }