Setting up email piping

Looks like I’ve been here before. Email piping to php. Could not open input file

I could never work this thing out.