pmdevelopment / microsoft-symfony-mailer
Microsoft Graph API bridge for symfony mailer
Installs: 3 230
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 1
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^6.0|^7.0
- microsoft/microsoft-graph: ^1.110.0
- symfony/event-dispatcher-contracts: *
- symfony/mailer: ^6.0|^7.0
Requires (Dev)
- symfony/http-client: ^6.0|^7.0
This package is auto-updated.
Last update: 2025-02-22 15:10:11 UTC
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.yaml
configuration
PMDevelopment\Mailer\Bridge\Microsoft\Transport\GraphTransportFactory:
tags:
- { name: mailer.transport_factory }
Add required Parameters to .env
MAILER_DSN=microsoft+graph://clientId:clientSecret@tenantId