title: Access CPanel Webmail using PHP
body: <p>I have a domain and CPanel account with a host from which I can create email accounts.</p>
  
  <p>I want to write a PHP script to connect to any of the created email accounts provided the username and password and view all the emails sent to this email inbox.</p>
  
  <p>If this is possible I would like to have a guide in creating this kind of script.</p>