klukiyan/laravel-ews-mail-server
最新稳定版本:v1.1.0
Composer 安装命令:
composer require klukiyan/laravel-ews-mail-server
包简介
Send Email from Laravel using Microsoft Exchange Web Services (EWS).
README 文档
README
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!
Sending Email via Microsoft Exchange Web Services (EWS) made easy!
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
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
统计信息
- 总下载量: 60
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-19