我用auth login指令后,怎么返回bad syntax给我呀。
Send[->]:ehlo hostname
Recv[<-]:220 smtp.sina.com.cn ESMTP SINAMAIL (Postfix Rules!)
Send[->]:auth login
Recv[<-]:250-smtp.sina.com.cn
250-PIPELINING
250-SIZE 19660800
250-VRFY
250-ETRN
250-AUTH LOGIN
250-AUTH=LOGIN
250 8BITMIME
500 Error: bad syntax
Send[->]:ehlo hostname
Recv[<-]:220 smtp.sina.com.cn ESMTP SINAMAIL (Postfix Rules!)
Send[->]:auth login
Recv[<-]:250-smtp.sina.com.cn
250-PIPELINING
250-SIZE 19660800
250-VRFY
250-ETRN
250-AUTH LOGIN
250-AUTH=LOGIN
250 8BITMIME
500 Error: bad syntax
下面是log信息。Send[->]:ehlo smtp.sina.com.cn
Recv[<-]:220 smtp.sina.com.cn ESMTP SINAMAIL (Postfix Rules!)
Recv[<-]:250-smtp.sina.com.cn
250-PIPELINING
250-SIZE 19660800
250-VRFY
250-ETRN
250-AUTH LOGIN
250-AUTH=LOGIN
250 8BITMIME
Send[->]:auth login
Recv[<-]:334 VXNlcm5hbWU6
Send[->]:eGp4Ym94 //这里是账号,xjxbox的base64编码
Recv[<-]:334 UGFzc3dvcmQ6
Send[->]:********//这里是密码,我替换成*了,:)
Recv[<-]:235 Authentication successful
Send[->]:MAIL FROM: <[email protected]>
Recv[<-]:250 Ok
Send[->]:RCPT TO: <[email protected]>
Recv[<-]:250 Ok
Send[->]:DATA
Recv[<-]:354 Please start mail input.
Send[->]From: <[email protected]>
To: <[email protected]>
SUBJECT: Just a test.
Date: 2005/12/24
X-Mailer: Gddsky mailer
MIME-Version: 1.0
Content-type: text/plain;charset="GB2312"
Content-Transfer-Encoding: base64Send[->]eGp4J3MgbWFpbCE=
Send[->]:
.
QUIT
Recv[<-]:250 Mail queued for delivery.
http://community.csdn.net/Expert/topic/4479/4479079.xml?temp=.2131311