Laravel Exchange Web Services Email is a package by Raju at LHG for sending Email via Microsoft Exchange Web Services (EWS) easily. The Laravel package is a wrapper around the PHP EWS composer package.
use Raju\EWSMail\ExchangeMailServer;ExchangeMailServer::sendEmail(['name' => 'Raju at LHG','email' => 'firstname.lastname@example.org'],['subject' => 'Mail From Package','body' => 'Message Body']);
This is a small package, with one class responsible for sending emails via EWS—check out the ExchangeMailServer class for how this is built. I would also like to point out that this package requires the SOAP PHP extension to work, which is a dependency of the PHP EWS package.
To use this package, you'll need to configure your EWS host, username, password, and client version.
You can learn more about this package, get full installation instructions, and view the source code on GitHub.
This package was submitted to our Laravel News Links section. Links is a place the community can post packages and tutorials around the Laravel ecosystem. Follow along on Twitter @LaravelLinks
Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.