Link to home
Start Free TrialLog in
Avatar of alexeijames
alexeijames

asked on

Viewing actual Communication between IMAP client and Server

I have created an IMAP mail client using the available Indy Components.

All of you guys familiar with IMAP will know that IMAP works using a bunch of commands sent from the client to the server to open a mailbox/get/delete mail etc.

What i would like to do is actually view my client sending these commands.By this I mean I would like to see the actual communication between the client and server whilst running my application in Delphi.

I would like to see this for example:

S: Welcome to IMAP server...please login
C:001 LOGIN 'usernaem' 'password'
S:..............

bla bla


Is it possible to view this in some sort of console? I am sure Delphi must offer a testing tool which will allow me to do this!

Thanks guys

JAs





ASKER CERTIFIED SOLUTION
Avatar of Barthax
Barthax
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alexeijames
alexeijames

ASKER

Yo Barthax!

Genius!!!! It worked perfectly! I installed ethereal and applied a filter to view only Imap Packets!

Precisely what i wanted.

Excellent!

Thankyou very much

JAs
No problem. :)