Download the PHP package overtrue/laravel-mail-aliyun without Composer
On this page you can find all versions of the php package overtrue/laravel-mail-aliyun. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download overtrue/laravel-mail-aliyun
More information about overtrue/laravel-mail-aliyun
Files in overtrue/laravel-mail-aliyun
Package laravel-mail-aliyun
Short Description Aliyun DrirectMail Transport for Laravel Application.
License MIT
Informations about the package laravel-mail-aliyun
Laravel mail aliyun
:e-mail: Aliyun DrirectMail Transport for Laravel Application.
Installing
Configuration
API documention: https://help.aliyun.com/document_detail/29435.html
config/services.php
AccessKeyID 和 AccessKeySecret 由阿里云官方颁发给用户的 AccessKey 信息(可以通过阿里云控制台用户信息管理中查看和管理).
Usage
Set default mail driver and configuration:
.env
Add a mailer in config/mail.php:
This version supports Laravel 13 and PHP 8.3+ using Symfony Mailer. To and CC recipients are
sent through the API's ToAddress field; the API does not preserve a separate CC
header. This transport rejects BCC, envelope-only recipients absent from To/CC headers,
and attachments rather than silently dropping them or exposing blind recipients. Use SMTP when these features are needed.
Custom message callbacks should use withSymfonyMessage() and Symfony's Email.
TagName
Please reference the official doc: Laravel Sending mail
:heart: Sponsor me
如果你喜欢我的项目并想支持它,点击这里 :heart:
Project supported by JetBrains
Many thanks to Jetbrains for kindly providing a license for me to work on this and other open-source projects.
License
MIT
Tests
The test suite uses a mocked HTTP handler and does not send real email.
All versions of laravel-mail-aliyun with dependencies
guzzlehttp/guzzle Version ^7.0
laravel/framework Version ^13.0
symfony/mailer Version ^7.4|^8.0