/
Option DBG_EMAIL is missing in debug_sample.php

Option DBG_EMAIL is missing in debug_sample.php

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/1010d0b4645c8abc#

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. a...@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:

  • have u...@domain.tld
  • replace @ with _at_
  • append domain from DBG_EMAIL
  • result user_at_domain....@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.

Related Tasks

Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.