ssch/swiftmailer-single-recipient

Configure swiftmailer to send messages to single recipient

dev-master / 1.0.x-dev 2020-01-27 11:26 UTC

This package is auto-updated.

Last update: 2021-03-27 14:09:22 UTC


README

Build Status Coverage Status

How to Work with Emails during Development

When developing an application which sends email, you will often not want to actually send the email to the specified recipient during development.

Sending to a Specified Address(es)

You can configure via the extension configuration to send all email to a one ore more specific addresses.

Swift Mailer will add an extra header to the email, X-Swift-To, containing the replaced address, so you can still see who it would have been sent to.

Sending to a Specified Address but with Exceptions

You can also configure the extension to allow some exceptions, so the email will be really sent to the recipient if the address is whitelisted.