Anonymous | Login | Signup for a new account | 2023-05-29 07:06 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Advanced Details [ Jump to Notes ] [ Wiki ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0001199 | [In-Portal CMS] Refactoring | task | always | 2012-02-01 12:34 | 2012-07-25 05:31 | ||
Reporter | Dmitry | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Platform | |||
Status | closed | OS | |||||
OS Version | |||||||
ETA | none | Fixed in Version | 5.2.0-B2 | Product Version | |||
Target Version | 5.2.0 | Product Build | |||||
Time Estimate | No estimate | ||||||
Summary | 0001199: Rename DBG_EMAIL option and Add it to debug_sample.php | ||||||
Description |
We have nice feature, that allows to transfer all e-mails that are sent to given e-mail address. This is useful in cases, when developer performs some action on a website, that can cause mass mailing and he doesn't want that mails to reach live users. And since all e-mails are sent to his mailbox he then is able to detect what was happening. Option is called DBG_EMAIL and can be set to: e-mail address (e.g. al...@intechnic.com) e-mail domain (e.g. @intechnic.com) In later case actual recipient e-mail would be created from original e-mail recipient this way: 1. have user@domain.tld 2. replace @ with _at_ 3. append domain from DBG_EMAIL 4. result user_at_d...@intechnic.com If DBG_EMAIL is defined in $dbg_options array in debug.php file, then it will only work when debug mode is enabled. If there is a need, then it can be defined before $dbg_options array resulting recipient replacing until this option is turn off. In this task we NEED: 1. Rename DBG_EMAIL to OVERRIDE_EMAIL_RECIPIENTS 2. Make sure it works withi $dbg_options and outside 3. Add it as sample OVERRIDE_EMAIL_RECIPIENTS to tools/debug_sample.php define('OVERRIDE_EMAIL_RECIPIENTS', ''); // Overwrites email recipients with some-email@domain-name.com or @domain-name.com |
||||||
Steps To Reproduce | |||||||
Additional Information | |||||||
Tags | No tags attached. | ||||||
Reference | https://groups.google.com/d/topic/in-portal-bugs/EBDQtGRcirw/discussion | ||||||
Change Log Message | added OVERRIDE_EMAIL_RECIPIENTS to debug_sample.php | ||||||
Estimate Points | 1 | ||||||
Attached Files |
![]() |
||||||
|
![]() |
|
![]() |
|
![]() alex (manager) 2012-02-07 05:45 |
Will test all together later. |
![]() alex (manager) 2012-02-07 05:45 |
Fix committed to 5.2.x branch. Commit Message: Fixes 0001199: Rename DBG_EMAIL option and Add it to debug_sample.php |
![]() alex (manager) 2012-07-25 05:31 |
Since 5.2.0 version was released. |
![]() |
|||
In-Portal CMS: 5.2.x r15106 Timestamp: 2012-02-07 05:45:27 Author: alex [ Details ] [ Diff ] |
Fixes 0001199: Rename DBG_EMAIL option and Add it to debug_sample.php | ||
mod - /in-portal/branches/5.2.x/core/kernel/utility/email_send.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.2.x/tools/debug_sample.php | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
2012-07-25 05:31 | alex | Note Added: 0004979 | |
2012-07-25 05:31 | alex | Status | resolved => closed |
2012-02-07 05:45 | alex | Note Added: 0004449 | |
2012-02-07 05:45 | alex | Status | reviewed and tested => resolved |
2012-02-07 05:45 | alex | Fixed in Version | => 5.2.0-B2 |
2012-02-07 05:45 | alex | Resolution | open => fixed |
2012-02-07 05:45 | alex | Assigned To | !COMMUNITY => alex |
2012-02-07 05:45 | alex | Changeset attached | 5.2.x r15106 |
2012-02-07 05:45 | alex | Note Added: 0004448 | |
2012-02-07 05:45 | alex | Status | needs testing => reviewed and tested |
2012-02-07 05:44 | alex | Assigned To | => !COMMUNITY |
2012-02-07 05:44 | alex | Developer | => alex |
2012-02-07 05:44 | alex | Status | active => needs testing |
2012-02-07 05:43 | alex | Estimate Points | 0 => 1 |
2012-02-07 05:43 | alex | File Added: email_override_demo.patch | |
2012-02-01 12:34 | Dmitry | New Issue | |
2012-02-01 12:34 | Dmitry | Reference | => https://groups.google.com/d/topic/in-portal-bugs/EBDQtGRcirw/discussion |
2012-02-01 12:34 | Dmitry | Change Log Message | => added OVERRIDE_EMAIL_RECIPIENTS to debug_sample.php |
2012-02-01 12:34 | Dmitry | Estimate Points | => 0 |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |