Re: [QUESTION] MAIL: Send a NOOP instead of DATA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

on 01/16/2008 01:38 AM Wang Chen said the following:
> I wrote a class to send mail by remote mail server.
> But it was failed. So I captured the network packets by tcpdump,
> and found that there is a strange packet "NOOP" was sent.
> But in the source code I mean to send command "DATA".
> I don't know why a "NOOP" packet was sent instead.
> 
> Here is my php source code and the attachment is tcpdump file.

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.

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


-- 

Regards,
Manuel Lemos

PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux