INTRODUCTION **************** The changes in this patch allow you to debug e-mail messages. All e-mail will be send to a specified address. Custom headers with the original receivers are added to each e-mail. CONFIGURATION **************** In site.ini, there's a block called MailSettings. Under this block, you can use 2 new settings: Debug and DebugReceiverAddress. Set Debug to enabled to enable mail debugging and pecify your e-mail address with DebugReceiverAddress. An example: [MailSettings] Debug=enabled DebugReceiverAddress=nobody@example.com The debug e-mails will be exactly the same as the e-mails that will be send when debug is not enabled, but they will be send only to the address specified with the setting DebugReceiverAddress. They will also contain some extra headers x-debug-to, x-debug-cc and x-debug-bcc with the real receivers in it. LICENSE **************** eZMail changes to support mail debugging Copyright (C) 2005 SCK-CEN (Belgian Nuclear Research Centre) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.