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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No problem. :)
ASKER
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