Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add email override option for development/testing #12

Open
GoogleCodeExporter opened this issue Feb 17, 2016 · 0 comments
Open

Add email override option for development/testing #12

GoogleCodeExporter opened this issue Feb 17, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Currently there is no way to add a setting that will send ALL emails sent with 
yii-mail to a single email address.

The use case for this is for testing or development of an application. You want 
all emails to end up at a certain account, and not at the admin's account, or 
someone else's email address when you are testing.

Attached is a patch that adds this functionality by adding a new overrideEmail 
parameter to YiiMail.php

Original issue reported on code.google.com by mmm...@gmail.com on 7 Jul 2011 at 12:07

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant