innocoding/ms365-oauthmailer
Composer 安装命令:
composer require innocoding/ms365-oauthmailer
包简介
This TYPO3 extension makes it possible to send emails in TYPO3 via Microsoft 365 using oAuth authentication (using the Microsoft Graph SDK)
关键字:
README 文档
README
This is a TYPO3 extension that makes it possible to send emails in TYPO3 via Microsoft 365 using oAuth authentication (using the Microsoft Graph SDK).
Prerequisites
You need to configure a user in Microsoft 365 which is allowed to send out mails:
* Microsoft Graph
* Mail.Send - Application - Send mail as any user
* User.ReadBasicAll - Application - Read all users basic profiles
Note: The administrator must review the permissions on a case-by-case basis. The permissions suggested here should enable email sending, but may be too extensive for your specific use case.
You will need the following data:
- User ID (email address)
- Client ID
- Client Secret
- Tenant ID
Installation
This extension must be installed via composer because it installs some
dependencies (microsoft/microsoft-graph and guzzlehttp/guzzle).
composer req innocoding/ms365-oauthmailer
Configuration
Put this in your additional.php:
'MAIL' => [
'transport' => 'InnoCoding\Ms365oAuthMailer\Mail\Ms365Transport',
'transport_user_id' => 'myuser@example.com',
'transport_client_id' => 'the-client-id',
'transport_client_secret' => 'the-client-secret',
'transport_tenant_id' => 'the-tenant-id',
],
Notes
- Only an HTML body is set in the mail. If the HTML body of the TYPO3 mail object is empty, the text body is used.
- Sender name and email address cannot be overwritten, this is taken from the Microsoft 365 user.
- Multiple receivers ("to") are supported
- CC, BCC and Reply-To is supported
- Attachments are supported
Issues
If you find bugs or have feature requests, please refer to
https://gitlab.com/innocoding/typo3/public/ms365-oauthmailer/-/issues
Support
If you need support, please write an email to typo3@innocoding.com
Changelog
You can find the changelog at
https://gitlab.com/innocoding/typo3/public/ms365-oauthmailer/-/blob/main/CHANGELOG.md
innocoding/ms365-oauthmailer 适用场景与选型建议
innocoding/ms365-oauthmailer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.45k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 04 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「extension」 「typo3」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 innocoding/ms365-oauthmailer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 innocoding/ms365-oauthmailer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 innocoding/ms365-oauthmailer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A custom URL rule class for Yii 2 which allows to create translated URL rules
Set Links with a specific language parameter
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
UI Kit 3 Extension for Yii2
Adds more BBCode
统计信息
- 总下载量: 4.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-04-02