locked
Error "Server Already closed the connection" when Trying to Connect to Exchange Server via VB Application RRS feed

  • 問題

  • Hi

    I am trying to connect to the Email server (Exchange Server 2003) via a VB application. Unfortunately, it return an error message "Server Already closed the connection".

    When I use Microsoft OutLook's Test Account Settings feature. It does not have any result/status to show whether the "Log onto incoming mail server (POP3)" is success or failure.

    I am not sure where it is some setting on the Exchange server that stop my VB application to connect to the Email Server.

    I have tested my VB application by connecting to Yahoo's POP3 server on "pop.mail.yahoo.com.hk".

    I would be grateful if you could give me some suggestion to check what cause that problem.

    I am not sure whether I should post this thread to VB.Net page or Exchange Server page, as it may related to both pages. Please forgive me If I posted in a wrong Session.

    Many thanks

    2008年7月8日 上午 09:52

解答

  •  

    Dear customer:

     

    For check whether the POP3 virtual server is running, refer to the following documents:

    Microsoft Exchange Server 2003 Client Access Guide

    http://www.microsoft.com/DOWNLOADS/details.aspx?displaylang=en&FamilyID=847774d9-db4a-444b-a5c9-d0b01958f6b7

     

    For second question, first check whether Outlook use POP3 protocol connect to Exchange sever, since Outlook support multiple protocol, suck as MAPI(also known as Exchange Server e-mail account), POP3 and IMAP.

     

    For more information about Exchange Server e-mail account, refer to the following article:

    What is an Exchange Server e-mail account?

    http://office.microsoft.com/en-us/outlook/HA010955041033.aspx?pid=CL100626971033

     

    Rock Wang - MSFT

    2008年7月10日 上午 01:44

所有回覆

  •  

    Dear customer:

     

    Since your issue is about VB application, we advice you to post the issue into the following forum, maybe you can get more help in there.

     

    Microsoft Technical Support Forum - Hong Kong » Developer Discussion Forum » Visual Basic

     

    Additionally, I would like provide some suggestions for your reference.

     

    1.     Check whether the POP3 service is running on Exchange server?

    2.     Check whether the POP3 virtual server is running in ESM?

    3.     Use POP3 client such Outlook Express and check the effect.

     

    Thanks for your cooperation and understanding.

     

    Rock Wang - MSFT

    2008年7月9日 上午 07:13
  • Hi Rock

    Because I tried to use the same Library to connect Yahoo and Google, and it works, that's why I guess it is more related to the Exchange Server.

    I have posted the issue to the VB forum on
    http://forums.microsoft.com/hongkong/ShowPost.aspx?PostID=3591887&SiteID=82&mode=1

    1) I have checked the POP3 Service is running on Exchange Server
    2) Could you let me know how to check "Whether the POP3 virtual server is running in ESM"
    3) I can access Email thought Microsoft Outlook, does it mean the POP3 client work fine?

    Thanks very much for your help.
    2008年7月9日 上午 07:34
  • You can use "telnet xxx.xxx.xxx 110" to check POP3 service.  If POP3 enabled, it will show the below message.

     

    --------------------------------------------------

    +OK Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 (xxx.xxx.xxx) ready.

    2008年7月9日 上午 08:25
  • Hi Warren

    Thanks for your information. I think the Server that I am using is Set to not reply Telnet or something, I cannot get any thing back by entering the command,
    "telnet xxx.xxx.xxx 110" even I change the port to "telnet xxx.xxx.xxx 80" or 21 ...etc.
    I receive an message when I telnet the ip address.
    "Connecting To Server Name ... Could not open connection to the host on port 23: Connect failed"

    Do you have any other way that I can test it out?

    Many thanks
    2008年7月9日 下午 01:03
  •  

    Dear customer:

     

    For check whether the POP3 virtual server is running, refer to the following documents:

    Microsoft Exchange Server 2003 Client Access Guide

    http://www.microsoft.com/DOWNLOADS/details.aspx?displaylang=en&FamilyID=847774d9-db4a-444b-a5c9-d0b01958f6b7

     

    For second question, first check whether Outlook use POP3 protocol connect to Exchange sever, since Outlook support multiple protocol, suck as MAPI(also known as Exchange Server e-mail account), POP3 and IMAP.

     

    For more information about Exchange Server e-mail account, refer to the following article:

    What is an Exchange Server e-mail account?

    http://office.microsoft.com/en-us/outlook/HA010955041033.aspx?pid=CL100626971033

     

    Rock Wang - MSFT

    2008年7月10日 上午 01:44
  • Hi Rock

    Thanks for your information. The problem has been solved now.

    Many thanks
    2008年7月10日 下午 01:11