I believe I'm trying to create an 'input steam'

I want to send a copy of mail messages from one account to another server
on my network, specifically to the php processor to use a specific php
message to deal with the message, Is that possible?

Thanks alot.