detect setting Outlook Express

Hello all,

I'm writing a program that gives a message when new email is recieved. I
want to make a auto-configure function for my program. I need to detect the
settings from Outlook Express (Password, Username, smtp-server, pop-server).
Does anyone know how to do that? Please if you have any information email me

Thanks for advance,

Bjorn Braker