rajurayhan / laravel-ews-mail-server
Send Email from Laravel using Microsoft Exchange Web Services (EWS).
Installs: 2 854
Dependents: 0
Suggesters: 0
Security: 0
Stars: 24
Watchers: 1
Forks: 4
Open Issues: 1
pkg:composer/rajurayhan/laravel-ews-mail-server
Requires
- php-ews/php-ews: ^1.0
This package is auto-updated.
Last update: 2026-02-16 11:12:26 UTC
README
Sending Email via Microsoft Exchange Web Services (EWS) made easy!
Installation
Install via Composer
composer require rajurayhan/laravel-ews-mail-server
Publish Configuration and Setup your Credentials
php artisan vendor:publish --tag=ewsmailserver
Usage
Simple!
use Raju\EWSMail\ExchangeMailServer;
ExchangeMailServer::sendEmail(['user@email.com','user2@gmail.com','etc@etc'], ['subject' => 'Mail From Package', 'body' => 'Message Body'],['optional@cc.to'],[optional $attachment_paths]);
Note
Update your credentials config/ews-mail-server.php