Example #1
0
 protected function _canonicalizeBody($string)
 {
     if (!$this->_peclLoaded) {
         return parent::_canonicalizeBody($string);
     }
     if (false && $this->dropFirstLF === true) {
         if ($string[0] == "\r" && $string[1] == "\n") {
             $string = substr($string, 2);
         }
     }
     $this->dropFirstLF = false;
     if (strlen($string)) {
         $this->_dkimHandler->body($string);
     }
 }
Example #2
0
 protected function _canonicalizeBody($string)
 {
     if (!$this->_peclLoaded) {
         return parent::_canonicalizeBody($string);
     }
     dkim_body($this->_dkimHandler, $string);
 }