ssch/swiftmailer-single-recipient

This package is abandoned and no longer maintained. No replacement package was suggested.

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: 2022-06-29 01:28:33 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.