From: <ro...@us...> - 2002-10-29 06:12:03
|
Update of /cvsroot/webnotes/webnotes/core In directory usw-pr-cvs1:/tmp/cvs-serv1068 Added Files: class.phpmailer.php Log Message: Dump phpMailer into CVS --- NEW FILE: class.phpmailer.php --- <?php //////////////////////////////////////////////////// // phpmailer - PHP email class // // Version 1.62, Created 06/26/2002 // // Class for sending email using either // sendmail, PHP mail(), or SMTP. Methods are // based upon the standard AspEmail(tm) classes. // // Author: Brent R. Matzelle <bma...@ya...> // // License: LGPL, see LICENSE //////////////////////////////////////////////////// /** * phpmailer - PHP email transport class * @author Brent R. Matzelle */ [...1597 lines suppressed...] $mime[] = sprintf("Content-Type: %s; charset = \"%s\"%s", $this->ContentType, $this->CharSet, $this->LE); //$mime[] = sprintf("Content-Transfer-Encoding: %s%s", $this->Encoding, // $this->LE); if(strlen($this->Disposition) > 0) { $mime[] = sprintf("Content-Disposition: %s;"); if(strlen($this->FileName) > 0) $mime[] = sprinf("filename=\"%s\"", $this->$this->FileName); } if($bLineEnding) $mime[] = $this->LE; return join("", $mime); } } ?> |