Малко помощ плс

iwanov

Registered
Ето грешката:
Fatal error: Call to undefined method Mail_smtp::_sanitizeHeaders() in C:\xampp\php\PEAR\Mail\smtp.php on line 247

Ето и код от файла:
Код:
if ($this->auth) {
                $method = is_string($this->auth) ? $this->auth : '';

                if (PEAR::isError($res = $this->_smtp->auth($this->username,
                                                            $this->password,
                                                            $method))) {
                    $error = $this->_error("$method authentication failure",
                                           $res);
                    $this->_smtp->rset();
                    return PEAR::raiseError($error, PEAR_MAIL_SMTP_ERROR_AUTH);
                }
            }
        }

        $this->_sanitizeHeaders($headers);
        $headerElements = $this->prepareHeaders($headers);
        if (PEAR::isError($headerElements)) {
            $this->_smtp->rset();
            return $headerElements;
        }
        list($from, $textHeaders) = $headerElements;

Ето и 247-ми ред:
$this->_sanitizeHeaders($headers);

Как да оправя проблема ?
 

Back
Горе