cm / flow-mailgun
Add description here
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:neos-plugin
Requires
- cm/flow-utilities: ~1.0.0
- guzzlehttp/psr7: ^1.4
- mailgun/mailgun-php: ~2.1.0
- neos/flow: ~4.0
- php-http/curl-client: ^1.7
This package is not auto-updated.
Last update: 2024-03-16 17:31:23 UTC
README
This package allows you to send E-Mails using the EmailService
(contained in the package CM.Flow.Utilities
), via mailgun instead of the local mail server.
Configuration
Settings.yaml
To be able to connect to mailgun, the following configuration is required (preferably in the global Settings.yaml).
CM:
Flow:
Mailgun:
auth:
mailgun-key: 'key-xxxxxxxxxx' # your mailgun api key
domain: 'mg.example.com' # your mailgun domain
Objects.yaml
On top of that, a global Objects.yaml
is required, containing the following lines. This will tell flow to send mails using the MailgunBackend
.
CM\Flow\Utilities\Email\EmailBackendInterface:
className: CM\Flow\Mailgun\Services\MailgunBackend
scope: singleton