Hi,
For everyones info
After about 15 hours I got piping to work. I changed so many things in my attempts that I'm not completely clear on which single change finally got it working. I modified the RFC822.php file and used the host email server instead of ours and that was what it finally worked.
I also had to manually modify the automail.php file to include the correct strings for the OS API as I set up the piping after I installed OS.
# url=> URL to pipe.php e.g http://yourdomain.com/support/api/pipe.php(http://yourdomain.com/support/api/pipe.php)
# key=> API's pass phrase
Here is what broke it after piping was working.
I decided to add the login url for the techs to the emails sent to them so they would not have to remember it to log in to check on tickets. I added the url from the OS admin panel / Emails / Templates.
When I hit submit it overwrote the automail.php file...