innocoding/ms365-oauthmailer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

innocoding/ms365-oauthmailer

最新稳定版本:1.0.1

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

统计信息

  • 总下载量: 1.84k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2025-04-02