"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/inc/mailhandlers/smtp.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

smtp.php  (mybb_1822):smtp.php  (mybb_1823)
skipping to change at line 250 skipping to change at line 250
// Queue the actual message // Queue the actual message
$this->message = str_replace("\n.", "\n..", $this ->message); $this->message = str_replace("\n.", "\n..", $this ->message);
$this->send_data($this->message); $this->send_data($this->message);
} }
else else
{ {
$this->fatal_error("The mail server did not under stand the DATA command"); $this->fatal_error("The mail server did not under stand the DATA command");
return false; return false;
} }
$this->send_data('.', 250); if(!$this->send_data('.', 250))
{
$this->fatal_error("Mail may not be delivered. Re
ason: ".$this->get_error());
}
if(!$this->keep_alive) if(!$this->keep_alive)
{ {
$this->close(); $this->close();
} }
return true; return true;
} }
else else
{ {
return false; return false;
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)