Option DBG_EMAIL is missing in debug_sample.php

4 views
Skip to first unread message

Alexander Obuhovich

unread,
Feb 1, 2012, 8:39:21 AM2/1/12
to In-Portal Bugs
In-Portal has 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:
  1. e-mail address (e.g. al...@intechnic.com)
  2. e-mail domain (e.g. @intechnic.com)
In later case actual recipient e-mail would be created from original e-mail recipient this way:
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.


--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Dmitry A.

unread,
Feb 1, 2012, 10:58:56 AM2/1/12
to in-port...@googlegroups.com
This is really cool, but we might want to change the name of it to make it more self-explanatory.

For example:

DBG_OVERRIDE_EMAILS
DBG_OVERRIDE_EMAIL_RECIPIENTS - I like this one the most.


Your thoughts?


DA

Dmitry A.

unread,
Feb 1, 2012, 11:23:33 AM2/1/12
to in-port...@googlegroups.com
Also, we can drop DBG prefix so it's:


OVERRIDE_EMAIL_RECIPIENTS


And as Alex explained can be set to:
  1. e-mail address (e.g. al...@intechnic.com)
  2. e-mail domain (e.g. @intechnic.com)


DA

Alexander Obuhovich

unread,
Feb 1, 2012, 11:27:34 AM2/1/12
to in-port...@googlegroups.com
Looks good.




DA

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/JXMPVaLpmYIJ.

To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Phil

unread,
Feb 1, 2012, 11:55:49 AM2/1/12
to in-port...@googlegroups.com
really powerful feature for tests and maintenance !


Envoyé avec Sparrow

Dmitry A.

unread,
Feb 1, 2012, 1:35:05 PM2/1/12
to in-port...@googlegroups.com
New task for this:

1199: Rename DBG_EMAIL option and Add it to debug_sample.php



DA

Alexander Obuhovich

unread,
Feb 7, 2012, 6:44:40 AM2/7/12
to in-port...@googlegroups.com
Done. Ready for testing.




DA

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit https://groups.google.com/d/msg/in-portal-bugs/-/YRu5u7iJcCgJ.

To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.
email_override_demo.patch

Dmitry A.

unread,
Feb 7, 2012, 11:32:23 PM2/7/12
to in-port...@googlegroups.com
Tested good!

Thanks for a quick fix Alex.


DA
Reply all
Reply to author
Forward
0 new messages