Have you tried reading the server responses with you PHP code? I only see
puts, and no gets. Could it be possable there is either a server problem,
or that maybe either the server or PHP mod is waiting for the get stream to
be cleared?
// open connection to smtpd on port 25 (fsockopen)
$fp = fsockopen("localhost", 25);
if (!$fp) { echo "Mail was not sent. Please report send error to
webmaster.";}
//greet SMTP server (HELO)
fputs($fp, "HELO www.mydomain.com\n");
// set sender (MAIL FROM)
fputs($fp, "MAIL FROM: <[EMAIL PROTECTED]>\n");
// set recipient (RCPT TO)
fputs($fp, "RCPT TO: <[EMAIL PROTECTED]>\n");
// set mail body (DATA)
fputs($fp, "DATA\n");
fputs($fp, "To: toguy\nFrom: fromguy\n Subject:
coolsubject\n\ncoolmessage\n\n.\n");
// terminate (QUIT)
fputs($fp, "QUIT\n");
// close connection (fclose)
fclose($fp);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]