mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 07:30:12 +01:00
Trim the response from smarthost with the queue id
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
10309b9c25
commit
e7d8143186
@ -41,7 +41,7 @@ class ModelMailMail extends Model {
|
||||
|
||||
$l = fgets($r, 4096);
|
||||
|
||||
if(preg_match("/^250/", $l)){ $queue_id = $l; $ok = 1; }
|
||||
if(preg_match("/^250/", $l)){ $queue_id = trim($l); $ok = 1; }
|
||||
|
||||
fputs($r, "QUIT\r\n");
|
||||
$l = fgets($r, 4096);
|
||||
|
Loading…
Reference in New Issue
Block a user