nymphaion/mailer

0.1 2018-04-18 10:32 UTC

This package is not auto-updated.

Last update: 2024-11-24 05:03:11 UTC


README

Version Downloads License

Simple SMTP mailer

Example

// If you're testing this script you have to set SERVER_NAME
putenv("SERVER_NAME=website.com");
 
(new Nymphaion\Mail\Smtp('smtp.mail.com', 'sabrina@mail.com', 'super_password'))
    ->sender('Sabrina')
    ->to('mykola@gmail.com')
    ->html('<p>Hello man!</p>')
    ->send();
}