A simple mailer abstraction with a clean interface
A simple mailer abstraction for PHP with a clean interface
Send an email using the local mail server:
(new \duncan3dc\Mailer\Server) ->createMessage() ->withFromAddress("email@example.com", "Administrator") ->withRecipient("firstname.lastname@example.org", "Your Name") ->withSubject("Test Email") ->withContent("Hello") ->withAttachment("/tmp/UGqucq", "sensible-filename.xls") ->send();
Read more at http://duncan3dc.github.io/mailer/
A Changelog has been available since version 2.0.0
Available as part of the Tidelift Subscription
The maintainers of duncan3dc/mailer and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.