From a978d214adfd84cb34a3b336628a1a5ecb3d2590 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 5 Jul 2004 10:13:56 +0000 Subject: [PATCH] killed the debug-messages and added some more comments --- phpgwapi/inc/class.send.inc.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.send.inc.php b/phpgwapi/inc/class.send.inc.php index 4d2473a2ff..33b8dc0cf2 100644 --- a/phpgwapi/inc/class.send.inc.php +++ b/phpgwapi/inc/class.send.inc.php @@ -20,6 +20,13 @@ require_once(PHPGW_API_INC.'/class.phpmailer.inc.php'); +/** + * New eGW send-class. It implements the old interface (msg-method) on top of PHPMailer. + * + * The configuration is read from Admin >> Site configuration and it does NOT depend on one of the email-apps anymore. + * + * @author RalfBecker@outdoor-training.de + */ class send extends PHPMailer { var $err = array(); @@ -80,7 +87,7 @@ class send extends PHPMailer */ function msg($service, $to, $subject, $body, $msgtype='', $cc='', $bcc='', $from='', $sender='', $content_type='', $boundary='Message-Boundary') { - echo "

send::msg(,to='$to',subject='$subject',,'$msgtype',cc='$cc',bcc='$bcc',from='$from',sender='$sender','$content_type','$boundary')

$body
\n"; + //echo "

send::msg(,to='$to',subject='$subject',,'$msgtype',cc='$cc',bcc='$bcc',from='$from',sender='$sender','$content_type','$boundary')

$body
\n"; $this->ClearAll(); // reset everything to its default, we might be called more then once !!! if ($service != 'email') @@ -136,7 +143,7 @@ class send extends PHPMailer $this->Subject = $subject; $this->Body = $body; - echo "PHPMailer =
".print_r($this,True)."
\n"; + //echo "PHPMailer =
".print_r($this,True)."
\n"; if (!$this->Send()) { $this->err = array(