Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

POP3 component

Status
Not open for further replies.

Griffyn

Programmer
Jul 11, 2002
1,077
AU
Hi,

I've got Delphi 6 with Update 2. I'm trying to use a POP3 component to get mail from our Exchange 5.5 server. First off I was trying the FastNet NMPOP3, which would tell me the correct number of messages, but return empty strings for their contents.

Now, I'm trying to use the Indy POP3 client (IdPOP3). It connects ok, but the IdPOP3.CheckMessages function which is supposed to return the number of waiting messages as a LongInt instead causes an exception because it tries to return the string 'Microsoft'!!

Has anyone had any success with either of these two. Am I missing something?

Thanks.
 
MS-Exchange needs the POP3 'connector' to allow pop3 retrieval of messages, it's normally an IMAP server, AFAIK.

HTH
TonHu
 
I have had some success using the ICS (overbyte) components for email access, I find them slightly easier to use than
the Indy stuff.
I only use the SMTP component , but I know that the POP3 demos work OK.

I find that Communications people always assume that everyone knows as much as they do, when in fact this subject
comes in the same catagory as Networking. i.e it should be taught at Hogwarts!.

Steve

 
Hi TonHu,

Exchange doesn't have a POP3 connector, it needs to have the POP3 protocol - which is installed by default. I have that enabled for the server, and also enabled for the mailbox I'm trying to check. I know POP3 works because I've used Outlook Express in the past.

I'll try and find the overbyte ICS components Steve. I'll post back.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top