http://expert.csdn.net/Expert/topic/2907/2907765.xml?temp=.4474909

解决方案 »

  1.   

    发送失败,用21cn发的出错如下:无法发送发送方地址
    220 21cn.com SMTP Server of AIMC 2.9.5.6; Wed, 31 Mar 2004 15:46:24 +0800250 21cn.com, ff7<127.0.0.1> okay.250 <[email protected]>, sender ok.551 <zhongjun>, Domain not found.无法发送接收方地址
    用新浪发的出错如下:
    220 sina.com ESMTP250 sina.com553 ________________________________________________________________________________     SMTP 登录出错。新浪邮件系统增加了 SMTP 服务认证,从 2001 年 2 月 28 日起,只有新浪会员才能享受此项服务。请访问新浪邮件网站查看有关通知及设置方法,网址是:http://mail.sina.com.cn/smtp.html - authentication required, see http://mail.sina.com.cn/smtp.html for setup details.     
    不好意思,第二个问题又来了
    我用winsock收取邮件,得到信息如下:
    Subject: =?gb2312?B?xOO6ww==?=
    Date: Wed, 31 Mar 2004 15:37:00 +0800
    MIME-Version: 1.0
    Content-Type: multipart/alternative;当然,很长的,我看到Subject这里知道是标题,中文标题变成这样了,能不能把它还原呢
      

  2.   

    服务器IP哪里设?
    只有服务器地址和端口两个设服务器地址:smtp.21cn.net   smtp.sina.com.cn端口:25
      

  3.   

    http://www.sijiqing.com/vbgood/code/index.asp?action=read&id=1072试试
      

  4.   

    龙卷风给我的代码也让我学到了一点东西,比如在发送subject消息要再发送两次vbcrlf,否则messagebody消息将不会出现结贴