projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When the data stream wasn't ending with \r\n the finalize stream function
[squirrelmail.git]
/
class
/
deliver
/
Deliver_SMTP.class.php
diff --git
a/class/deliver/Deliver_SMTP.class.php
b/class/deliver/Deliver_SMTP.class.php
index bf2cb2ec877944c3da2c5d95b6db31c06630116d..d1b5c950e21fa7381f8bc033d8988ff42db5cd7a 100644
(file)
--- a/
class/deliver/Deliver_SMTP.class.php
+++ b/
class/deliver/Deliver_SMTP.class.php
@@
-218,7
+218,7
@@
class Deliver_SMTP extends Deliver {
}
function finalizeStream($stream) {
}
function finalizeStream($stream) {
- fputs($stream, ".\r\n"); /* end the DATA part */
+ fputs($stream, "
\r\n
.\r\n"); /* end the DATA part */
$tmp = fgets($stream, 1024);
$this->errorCheck($tmp, $stream);
if ($this->dlv_ret_nr != 250) {
$tmp = fgets($stream, 1024);
$this->errorCheck($tmp, $stream);
if ($this->dlv_ret_nr != 250) {