title: MTA for receiving mails, in PHP
body: <p>is there a library/class/code-snippet/etc. that allows me to directly receive mail in php?</p>
  
  <p>So that I don't have to run an additional sever in an other process and then have to somehow send the mails to the already-running php-process.</p>
  
  <p>I've been looking around for a while, but results for "php" and "mail" or "mta"/"smtp" on google focus mostly on sending mail, or retrieving it using pop3 or imap...</p>
  
  <p>[EDIT]</p>
  
  <p>What I'm trying to do is forward the messages to an IRC-channel, so obviously when the IRC-bot (in PHP) isn't running, loosing the mails is not a big deal. However having a low latency between receiving the mail and posting it on IRC is.</p>