title: Use CURL to read mail? - PHP
body: <p>Hello
  Is it possible to manipulate a dovcot server or any like server with CURL to return email for an email address?</p>
  
  <p>I've been unsuccessful with imap_open and am in need of a new alternative. </p>
  
  <p>I've been able to login using CURL but after that I do not know where to go. This is what is outputted after login:</p>
  
  <pre><code>+OK Dovecot ready. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Too many bad commands. 1+OK Dovecot ready. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Unknown command. -ERR Too many bad commands. 1
  </code></pre>
  
  <p>and this is the resource I'm using for study:</p>
  
  <p><a href="http://techhelp.santovec.us/pop3telnet.htm" rel="nofollow">http://techhelp.santovec.us/pop3telnet.htm</a></p>
  
  <p>-H</p>