mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-11-01 00:22:28 +01:00 
			
		
		
		
	Trim the response from smarthost with the queue id
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		| @@ -41,7 +41,7 @@ class ModelMailMail extends Model { | |||||||
|  |  | ||||||
|       $l = fgets($r, 4096); |       $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"); |       fputs($r, "QUIT\r\n"); | ||||||
|       $l = fgets($r, 4096); |       $l = fgets($r, 4096); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user