forked from extern/egroupware
This will now return the 521 error whenever the socket is not previously opened.
This commit is contained in:
parent
61a0b05de1
commit
3d79308405
@ -145,7 +145,7 @@
|
||||
|
||||
function msg2socket($str,$expected_response,&$response)
|
||||
{
|
||||
if(!$this->socket && substr($expected_response,1,1) == '+')
|
||||
if(!$this->socket)
|
||||
{
|
||||
return $this->set_error('521','socket does not exist',
|
||||
'The required socked does not exist. The settings for your mail server may be wrong.');
|
||||
|
Loading…
Reference in New Issue
Block a user