我公司的电脑是使用wingate代理,共享上网,代理服务器的IP是192.168.1.1,我在VB里使用winsock控件发送EMAIL,SMTP SERVER填写的是smtp.163.com,发送方和收信方都是163的邮箱,只不过帐号不同,但是不能发送成功,而在我的163邮箱(在winsock控件里发送方的邮箱地址)里收到wingate服务器发送不出去的错误信息,请问各位,在代理服务器共享上网的情况下,winsock怎么使用啊?

解决方案 »

  1.   

    还有检查哪个wingate代理是否有什么设置限制了邮件的端口! 现在共享上网就一个100块钱的路由器就可以了,建议不要用wingate了,安装设置也麻烦
      

  2.   

    我仔细检查了程序,应该没有问题,
    因为是在公司,老板明确要求wingate代理上网,方便控制客户端.
    我现在把发送到我163邮箱的错误报告贴上,你们帮看看是什么原因
    wingate的smtp端口设的是25,没有动的
    下面是在我的163邮箱里报错的信息
    This is a system generated message - Please do not reply
    ----------------------------------------------
     Permanent delivery failure
    ----------------------------------------------
    Your message has encountered permanent delivery problems to the following recipients:
    [email protected]
    Reason: Remote server failed FROM command
    ----------------------------------------------
     A transcript of the session follows
    ----------------------------------------------
    *  Domain MX record lookup succeeded
    *  Attempting connection to mx.mail.163.split.netease.com[220.181.12.51] - succeeded
    <= 220 163.com Coremail SMTP(Anti Spam) System
    => HELO wingateserver
    <= 250 OK
    => MAIL FROM:<[email protected]>
    <= 554 Sender is rejected 6,mx1,wKjAMzkAsRDaFztERwh1Dw==.37951S2
    ----------------------------------------------
     Your original message (in part):
    ----------------------------------------------
    Received: From worldcomputers.com (unverified [192.168.1.101]) by SMTP Server [192.168.1.1]
     (WinGate SMTP Receiver v6.0.4 (Build 1025)) with SMTP id <0000011141@wingateserver>;
     Tue, 11 Apr 2006 10:44:03 -0700
    From: yjc
    Date: Tue, 11 Apr 2006 10:45:19 -0600
    X-Mailer: EBT Reporter v 2.x
    To: me
    Subject: testttttttt
    test2tttttt
    .
      

  3.   

    如果你用outlook或foxmail等工具能正常发送,就证明你的网络设置没问题!
      

  4.   

    你没有登录。
    163的邮箱是需要AUTH LOGIN的,AUTH LOGIN之后输入用Base64加密后的用户名和密码。
    具体mailto:[email protected]