title: phpBB: PHP code to automate forum post and private message sending
body: <p>I have a phpBB forum and would like to write an external class which can be used to send private messages to some of the users of the forum.</p>
  
  <p>Also, I'd like to automate the process of sending a post on the forum since some automatic notifications can thus be included in it.</p>
  
  <p>Something along the lines:</p>
  
  <pre><code>PhpbbControl::sendPM(Integer $from_user, Array $to_users, String $content);
  // ^ sends a new private message, returns false on failure
  
  PhpbbControl::newPost(Integer $forum_id, Integer $from_user, String $content);
  // ^ creates a new post on a given forum, returns false on failure
  </code></pre>
  
  <p>Any ideas or known MODs to provide that?</p>
  
  <p>Thanks</p>