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

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

 



Wang Chen said the following on 2008-1-16 11:38:
> 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.
> 

Seems that php-general maillist server can not accept attachment.
I have to describe the tcpdump capture information here.

snip....
snd:	HELLO
rcv:	250
snd:	AUTH LOGIN
rcv:	334
snip..../* all ok */
snd:	RCPT TO: **@**.com
rcv:	250 OK
/* 30 second wait...? it's odd */
snd:	NOOP	/* it should be DATA, why NOOP? */
rcv:	250 OK
snip....

I use outlook to sent a same mail and captured right packets.
snip....
snd:	HELLO
rcv:	250
snd:	AUTH LOGIN
rcv:	334
snip....
snd:	RCPT TO: **@**.com
rcv:	250 OK
snd:	DATA
rcv:	354 Start mail input
snd:	Message body
rcv:	250 OK
snip....

-- 
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