pmdevelopment / microsoft-symfony-mailer
Microsoft Graph API bridge for symfony mailer
Installs: 4 888
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/pmdevelopment/microsoft-symfony-mailer
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.0
- microsoft/microsoft-graph: ^2.37.0
- symfony/event-dispatcher-contracts: *
- symfony/mailer: ^7.0
Requires (Dev)
- symfony/http-client: ^7.0
README
Use this bridge to send Emails with symfony/mailer and Microsoft Graph API. Supported Features:
| Field | Supported |
|---|---|
| Subject | ✓ |
| Return-Path | ✕ |
| Sender | ✓ |
| From | ✕ |
| Reply-To | ✕ |
| To | ✓ |
| Cc | ✓ |
| Bcc | ✓ |
| Priority | ✕ |
| Text | ✓ |
| HTML | ✕ |
| Attachments | ✓ |
Configuration
Extend your services.yamlconfiguration
PMDevelopment\Mailer\Bridge\Microsoft\Transport\GraphTransportFactory:
tags:
- { name: mailer.transport_factory }
Add required Parameters to .env
MAILER_DSN=microsoft+graph://clientId:clientSecret@tenantId