mcarbonneaux / yii-mail

Automatically exported from code.google.com/p/yii-mail
0 stars 0 forks source link

Add email override option for development/testing #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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: