I have one of those things that should be simple, and yet for some reason it's throwing an error and no matter of trial and error seems to fix it.

I have a php script on our iseries that is trying to send an email as the result of a form being submitted.

The error I am getting...