PHPackages                             klukiyan/laravel-ews-mail-server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. klukiyan/laravel-ews-mail-server

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

klukiyan/laravel-ews-mail-server
================================

Send Email from Laravel using Microsoft Exchange Web Services (EWS).

v1.1.0(1y ago)165MITPHP

Since May 19Pushed 1y agoCompare

[ Source](https://github.com/klukiyan/laravel-ews-mail-server)[ Packagist](https://packagist.org/packages/klukiyan/laravel-ews-mail-server)[ RSS](/packages/klukiyan-laravel-ews-mail-server/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (6)Used By (0)

Intro
=====

[](#intro)

Big thanks to @rajurayhan and his package `rajurayhan/laravel-ews-mail-server`, which works great but was abandoned. I needed to send multiple to: and cc: so I upgraded it a little bit to accept the to and (optional) cc values. I didn't use the "To Name" anymore because it's not required and replaced it with and array and added also the array of optional CC!

*I will keep maintaining and updating this package with new features in the future. (like multi-account support)*

Send Mail via Exchange Web Services!
====================================

[](#send-mail-via-exchange-web-services)

Sending Email via Microsoft Exchange Web Services (EWS) made easy!
------------------------------------------------------------------

[](#sending-email-via-microsoft-exchange-web-services-ews-made-easy)

[![image info](https://camo.githubusercontent.com/f5d5f11bfd5964f1bf057e74f20a0e0461bc620446a582dfb0f1e8f0aa194074/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f612f61302f4d6963726f736f66745f45786368616e67655f6c6f676f2e737667)](https://camo.githubusercontent.com/f5d5f11bfd5964f1bf057e74f20a0e0461bc620446a582dfb0f1e8f0aa194074/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f612f61302f4d6963726f736f66745f45786368616e67655f6c6f676f2e737667)

Installation
------------

[](#installation)

Install via Composer

```
composer require klukiyan/laravel-ews-mail-server dev-master

```

Publish Configuration and Setup your Credentials

```
php artisan vendor:publish --tag=ewsmailserver

```

Usage
-----

[](#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
----

[](#note)

Update your credentials config/ews-mail-server.php

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance41

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~149 days

Total

5

Last Release

491d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d92a2e62fee75a4f31670681e61bf7de54fe562c651161c0e6019502ae1b8e81?d=identicon)[klukiyan](/maintainers/klukiyan)

---

Top Contributors

[![klukiyan](https://avatars.githubusercontent.com/u/27725051?v=4)](https://github.com/klukiyan "klukiyan (9 commits)")[![raju-lhg](https://avatars.githubusercontent.com/u/70439918?v=4)](https://github.com/raju-lhg "raju-lhg (8 commits)")[![rajurayhan](https://avatars.githubusercontent.com/u/6824950?v=4)](https://github.com/rajurayhan "rajurayhan (1 commits)")[![ZgrK](https://avatars.githubusercontent.com/u/879674?v=4)](https://github.com/ZgrK "ZgrK (1 commits)")

### Embed Badge

![Health badge](/badges/klukiyan-laravel-ews-mail-server/health.svg)

```
[![Health](https://phpackages.com/badges/klukiyan-laravel-ews-mail-server/health.svg)](https://phpackages.com/packages/klukiyan-laravel-ews-mail-server)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[eduardokum/laravel-mail-auto-embed

Library for embed images in emails automatically

1702.0M5](/packages/eduardokum-laravel-mail-auto-embed)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
