Page 1 of 1

E-mail form sent problem

PostPosted: 10. April 2005 14:51
by Sprnv4
Hi all..
I'm having problems with sending of emails with .php email forms.
My php works fine.. I can view all pages and everything.
I got this email form wich I tested on another server and works perfect.
When I tested it on my server. I didn't do anything. It hanged, meaning that it didn't send anything. Then I started the STMP server and it worked.
But just when the email form said : DONE! my mcaffee antivirus popped up and said emails could not be sent.

And gave me a protocol error.
Protocol error
The e-mail server has rejected an e-mail message.
If a protocol error or system error occurs, the remaining e-mail messages for that session are still processed and sent to the server.

What is the problem here??

Tnx for your help.

PostPosted: 14. April 2005 23:03
by prathapml
What SMTP server did you start? The included Mercury app?
Then please configure it first. You'd need to do that anyway. And maybe its rejecting messages because it accepts only domains hosted on itself. Get it properly configured for this, or remove the "check" from the option that enables/disables this setting.


As for your McAfee Anti-Virus error, no idea.
Maybe its the McAfee AV that is causing this whole thing (because of itself monitoring the email). So try quitting it and then see.

PostPosted: 14. April 2005 23:43
by taustin
prathapml wrote:As for your McAfee Anti-Virus error, no idea.
Maybe its the McAfee AV that is causing this whole thing (because of itself monitoring the email). So try quitting it and then see.


Nearly all anti-virus programs, including McAfee, act as an SMTP proxy. When PHP tries to connect on port 25, it connects to McAfee, not to the mail server. McAfee then connects to the mail server, and monitors what's going over the connection to look for virus activity. In this case, it's reporting back the error the mail server is giving.

I suspect Mercury needs to be configured. It's also a good idea to look at php.ini to make sure the SMTP settings there are not insanely wrong.