Re: [QUESTION] MAIL: Send a NOOP instead of DATA
| From: | Wang Chen | Date: | Wed, 16 Jan 2008 04:00:15 +0000 |
| Subject: | Re: [QUESTION] MAIL: Send a NOOP instead of DATA | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267348@lists.php.net to get a copy of this message | ||
Manuel Lemos said the following on 2008-1-16 11:55:
> Maybe you are accessing a SMTP server with a grey listing or
> anti-spam/anti-virus frontend that sits on the front of the actual SMTP
> server and only passes information to the backend server when it is ready.
>
> It is possible that your message is malformed and the frontend server is
> expecting something that you are not sending correctly. Meanwhile the
> frontend server sends NOOP commands to the backend server to keep the
> connection opened.
>
But it's strange that php should send a "DATA" command out, but tcpdump didn't
capture this packet. :(
> You may want to try this SMTP class that is known to work correctly
> according to the mail standards. See if you can send the message
> properly. If so, the theory above is likely to be the case.
>
> http://www.phpclasses.org/smtpclass
>
> If you need authentication, you also need this:
>
> http://www.phpclasses.org/sasl
>
>
Thanks Manuel, I will try this.