[PHP]fsockopen(xxxx.XXXXXXXXXX.co.uk,25,$errno,$errmsg, 10)[/PHP]
Expand|Select|Wrap|Line Numbers
- Succesfully connected to fsockopen with smtp_conn Resource id #18
- host of the server xxxx.XXXXXXXXXX.co.uk
- the port to use 25
- error number if any 0
- error message if any
- return value 10
[PHP]$sock_status = socket_get_status($this->smtp_conn);
print_r($sock_status);[/PHP]I get the following
Expand|Select|Wrap|Line Numbers
- sock_status Array ( [stream_type] => tcp_socket [mode] => r+
- [unread_bytes] => 0 [seekable] => [timed_out] => [blocked] => 1 [eof] => 1 )
because the writer of the class thinks so.
The email has worked fine for two years but started to fail yesterday
because the 'EOF' is returning '1'
I have no idea what was being returned before because I have just used this class blindly with great success.
Anybody know what is happening?