E-mail Notifications SMTP error

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
luolisave
Posts: 1
Joined: 30 Jan 2014, 22:14

E-mail Notifications SMTP error

Post by luolisave »

:cry:
Mantis Version: Mantis 1.1.6[^]

email did sent, but with following fatal error:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mantis\core\phpmailer\class.smtp.php on line 1024

This line fail to execute: while($str = fgets($this->smtp_conn,515))


function get_lines() {
$data = "";

while($str = fgets($this->smtp_conn,515)) {
if($this->do_debug >= 4) {
echo "SMTP -> get_lines(): \$data was \"$data\"" .
$this->CRLF;
echo "SMTP -> get_lines(): \$str is \"$str\"" .
$this->CRLF;
}
$data .= $str;
if($this->do_debug >= 4) {
echo "SMTP -> get_lines(): \$data is \"$data\"" . $this->CRLF;
}
# if the 4th character is a space then we are done reading
# so just break the loop
if(substr($str,3,1) == " ") { break; }
}

return $data;
}
Post Reply