My server requires Authentication so when I went through your script, I changed the following lines....
These lines are taken from the Plain email php file.....
Was......
var $auth_type = "PLAIN"; // Default: "LOGIN". Set to "PLAIN" if required.
Now......
var $auth_type = "LOGIN"; // Default: "LOGIN". Set to "PLAIN" if required.
Was.....
fputs($fp, "EHLO ".$config['smtp_host'].$this->crlf);
Now.....
fputs($fp, "HELO ".$config['smtp_host'].$this->crlf);
Was.....
$this->error('EHLO invalid mail server response: $result', 1);
Now.....
$this->error('HELO invalid mail server response: $result', 1);
I hope this is a cure to some peoples problems