This article was previously published under Q189326
This article has been archived. It is offered "as is" and will no longer be updated.
This article describes how to use Telnet to verify whether you have Internet Message Access Protocol, Version 4rev1 (IMAP4) connectivity to a mailbox that is located on a computer that is running Microsoft Exchange Server 5.5, Microsoft Exchange 2000 Server, or Microsoft Exchange Server 2003.
To make sure that you have correct IMAP4 connectivity to a mailbox that is located on the Exchange computer, type the following commands at a command prompt.
Note Except for the first command, you must type a question mark (?) and a space at the beginning of each command. Press ENTER after you type each command.
Telnet IP address of Mail server (Exchange) 143
This command starts a Telnet session. If this command is successful, you receive the following response from the server:
+OK Microsoft Exchange IMAP4rev1 server version x.x.x (F.Q.D.N.) ready
? LOGIN NTDOMAIN/NTACCOUNT/ALIAS PASSWORD
This command starts the communication by logging on to the mailbox. If this command is successful, you receive the following response:
+OK LOGIN completed
? LIST "" "*"
This command provides a list of available folders.
? Select Folder (where Folder is the mailbox folder that you want, such as Inbox or Deleted Items)
This command selects the appropriate mailbox. If this command is successful, you receive a response that is similar to the following, depending on the number of messages that are in the mailbox:
* <#> EXISTS* <#> RECENT* FLAGS (\Seen \Answered \Flagged \Deleted \Draft)* OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft)]* OK [UNSEEN <#>] Is the first unseen message* OK [UIDVALIDITY 73] UIDVALIDITY value.? OK [READ-WRITE] SELECT completed.
? FETCH message number> All (where message number is 1, 2, 3, and so on) ? FETCH message number Body (where message number is 1, 2, 3, and so on)
These commands retrieve specific messages. If the command is successful, you receive the message that you specified with a "message number" response that is similar to the following: