* @license PHP License * @package Wombat * @subpackage base */ /** * WB Mail Mock * * Used by PEAR e-mail-backend mock * * @version 0.2.0 * @package Wombat * @subpackage mail */ class WBMail_Mock extends WBStdClass { /** * */ public function preSend($backend, $recipients, $headers, $body) { return; } public function postSend($backend, $recipients, $headers, $body) { // debug output if (1 > WBParam::get('wb/debug', 0)) { return; } echo '
\n"; echo $body; echo "\n\n"; echo '