|
我自己写的一个程序,直接连接到HOTMAIL的邮件服务器然后发送邮件信息,当时被告知邮件发送成功,但信箱里却没有。。。<br>
<br>
而我用一般的邮件服务器,加上.net自带的那个连接SMTP服务器的程序发送就没问题,所以我很怀疑是邮件头的问题,但我又不明白到底哪出问题了,折腾几天了,望高手帮忙。。。谢谢,下面是我那个程序记录的一些日志<br>
<br>
<br>
Create MessageID:13165250-e18a-4048-86d8-8b8e9804ca73<br>
GetServerNameByMailAddress:hotmail.com<br>
GetMxAddress:mx2.hotmail.com<br>
GetEncoding:简体中文(GB2312)<br>
Connect Server:mx2.hotmail.com:25<br>
220 bay0-mc6-f3.bay0.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found at <a target=_blank href=http://privacy.msn.com/Anti-spam/.>http://privacy.msn.com/Anti-spam/.</a> Violations will result in use of equipment located in California and other states. Wed, 14 Dec 2005 11:03:18 -0800 <br>
<br>
SendCommand:HELO cnlamar<br>
250 bay0-mc6-f3.bay0.hotmail.com (3.1.0.17) Hello [221.122.43.40]<br>
<br>
SendCommand:MAIL FROM: <mail@msimag.com.cn><br>
250 mail@msimag.com.cn....Sender OK<br>
<br>
SendCommand:RCPT TO: <cnlamar@hotmail.com><br>
250 cnlamar@hotmail.com <br>
<br>
SendCommand:Data<br>
354 Start mail input; end with <CRLF>.<CRLF><br>
<br>
SendMailData:Received: from webserver by msimag.com.cn(MDaemon.PRO.v7.1.2.T) with ESMTP id asd101 for <cnlamar@hotmail.com>; Thu, Dec 15 2005 3:03:15 PST<br>
From: <mail@msimag.com.cn><br>
To: <cnlamar@hotmail.com><br>
Subject: 测试邮件的标题<br>
Date: Thu, Dec 15 2005 3:03:15 PST<br>
Message-ID: 13165250-e18a-4048-86d8-8b8e9804ca73@msimag.com.cn<br>
MIME_Version:1.0<br>
Content-type:multipart/alternative;<br>
Boundary="----=_NextPart_000_0043_01C5FF37.803A8490"<br>
X-mailer: Cnlamar.SendMail<br>
X-Priority:Normal<br>
X-Importance:Normal<br>
<br>
This is a multi-part message in MIME format.<br>
<br>
------=_NextPart_000_0043_01C5FF37.803A8490<br>
Content-Type: text/plain;<br>
charset="gb2312"<br>
Content-Transfer-Encoding: base64<br>
<br>
<br>
y/XC1MTayN2jrLeiy81IVE1M08q8/qOszt63qM/Uyr5IVE1MxNrI3cqxtcTM5ru7xNrI3Q==<br>
------=_NextPart_000_0043_01C5FF37.803A8490<br>
Content-Type: text/html;<br>
charset="gb2312"<br>
Content-Transfer-Encoding: base64<br>
<br>
<br>
suLK1NPKvP61xL7fzOXE2sjdPGI+suLK1LTWzOXX1jwvYj4=<br>
------=_NextPart_000_0043_01C5FF37.803A8490--<br>
<br>
.<br>
250 13165250-e18a-4048-86d8-8b8e9804ca73@msimag.com.cn Queued mail for delivery<br>
<br>
SendCommand:Quit<br>
221 bay0-mc6-f3.bay0.hotmail.com Service closing transmission channel<br>
<br>
|
|