This will now return the 521 error whenever the socket is not previously opened.

This commit is contained in:
skeeter 2001-08-01 11:10:23 +00:00
parent 61a0b05de1
commit 3d79308405

View File

@ -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.');