Skip to content

symfony/mailgun-mailer

Repository files navigation

Mailgun Mailer

Provides Mailgun integration for Symfony Mailer.

Configuration example:

# SMTP
MAILER_DSN=mailgun+smtp://USERNAME:PASSWORD@default?region=REGION

# HTTP
MAILER_DSN=mailgun+https://KEY:DOMAIN@default?region=REGION

# API
MAILER_DSN=mailgun+api://KEY:DOMAIN@default?region=REGION

where:

  • KEY is your Mailgun API key
  • DOMAIN is your Mailgun sending domain
  • REGION is Mailgun selected region (optional)

Resources