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

From: Date: Wed, 16 Jan 2008 03:55:17 +0000
Subject: Re: [QUESTION] MAIL: Send a NOOP instead of DATA
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-267347@lists.php.net to get a copy of this message
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....

« previous php.general (#267347) next »