Is possible to get all configured mail ids from the configured mail server using php?

Hi All,

Please help me to get all the configured mail ids from some mail server using php?

Thanks in Advance!!!

Yes off-course you can fetch using customized PHP code which fetches mail ids from configured mail. This link can be helpful to you visit this link for details - http://php.net/manual/en/book.mail.php

Hello Eric…

Thanks Eric. I am not clear with the provided link. Can you please explain it further. My question is, Our company has a mail server. It has all the employees mail address. I want to get all the mail addresses which are configured here using php. mail server like company server or microsoft exchange server. We have admin credentials.

You mean you have forgotten password of admin?
You can even fetch from server database.

I have mail server credentials. But i dont know how to fetch all configured mail addresses. Please help me!!!