landrok/laravel-mailpro-driver
Composer 安装命令:
composer require landrok/laravel-mailpro-driver
包简介
Mailpro Maxony transport for Laravel
README 文档
README
A PHP library to send an email only to one email with Laravel using Mailpro API (Maxony).
Before using this library, you MUST have :
- an API Key
- a client id
- an email id (From)
Install
composer require landrok/laravel-mailpro-driver
Configuration
First, you must publish the configuration file and then configure your API parameters in the .env file.
Publish configuration
php artisan vendor:publish --tag=mailproconfig
It creates a mailpro.php file in your config/ folder.
Environment parameters
Change default mail driver config in .env:
MAIL_DRIVER=mailpro
Add your parameters to your .env:
MAILPRO_CLIENT_ID=123456 MAILPRO_API_KEY=myApiKey MAILPRO_EMAIL_ID=654321
Usage
There is nothing more to do. Now, all classes that extends a
Mailable (Illuminate\Mail\Mailable) will use this driver.
统计信息
- 总下载量: 86
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-21