示例#1
0
文件: Email.php 项目: msigley/shopp
 static function AltBody($phpmailer)
 {
     // If DOMDocument isn't available, don't implement Textify (no alternate plaintext body will be sent)
     if (!class_exists('DOMDocument')) {
         return;
     }
     $Textify = new Textify($phpmailer->Body);
     $phpmailer->AltBody = $Textify->render();
 }
示例#2
0
 static function AltBody($phpmailer)
 {
     $Textify = new Textify($phpmailer->Body);
     $phpmailer->AltBody = $Textify->render();
 }