Checking if you can log into an email account using php?
<p>I am writing a bit more at the top in an effort to get it to post. Skip this and read on: </p>

<p>I am writing a script that tests user's e-mail accouns. For example, the user might provide an e-mail address such as: johnny@bla.com. For the purpose of this exercise, I know that the domain name will be: mail.domain.com. So, in this case, mail.bla.com. The password is provided by the user, because they enter it to test the account.</p>

<p>I need to know:</p>

<ul>
<li>If the user entered an incorrect password</li>
<li>If they could reach the server</li>
</ul>

<p>It must just be able to check POP email accounts.</p>
