communitales/symfony-microsoft365-mailer

Symfony Office365 Mailer Bridge

Installs: 281

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-mailer-bridge

pkg:composer/communitales/symfony-microsoft365-mailer

7.1.1 2024-07-31 08:58 UTC

This package is auto-updated.

Last update: 2025-09-29 03:07:57 UTC


README

Provides Microsoft 365 integration for Symfony Mailer.

Configuration example:

# API
MAILER_DSN=microsoft365+api://CLIENT_ID:CLIENT_SECRET@default?tenant_id=TENANT_ID&username=USERNAME

where:

  • CLIENT_ID is your Microsoft 365 API client ID
  • CLIENT_SECRET is your Microsoft 365 API client secret
  • TENANT_ID is your Microsoft 365 API tenant ID
  • USERNAME is your Microsoft 365 API username
# config/services.yaml
services:
    Communitales\Symfony\Component\Mailer\Bridge\Microsoft365\Transport\Microsoft365TransportFactory:
        tags: ['mailer.transport_factory']

Register App for Microsoft credentials

Add the API-Permissions:

  • Microsoft Graph
    • Mail.ReadWrite
    • Mail.Send

Resources