title: Resend data obtained with Stream to another PHP server
body: <p>I have a mail server with EXIM responsible for receiving emails and sending their content to be read and treated by a PHP file. This content reading occurs through the command <code>fopen(&quot;php://stdin&quot;, &quot;r&quot;)</code>, from that moment on I perform some actions using a library that allows extracting email from sender, subject, message content, attachments, etc.</p>
  <p>My problem is that I will have to migrate this heavy part of email handling to another server, for infrastructure reasons. I'll just keep the main SMTP Server+PHP file that performs the <code>fopen</code>, and after that I must transfer all its content to another server on another hosting.</p>
  <p>My main question is, is there any way to call the new PHP server which will be responsible for handling the email from what I got from the initial read file and sending the content as obtained with <code>php://stdin</code> in a single part? Similar to the first mode I received?</p>