PHP and send mail out
You ever bang you head against several issues that a simple solution seems too fuzzy to figure out? Well, that’s where I think I am. I’m dealing with a couple of issues like php mail, sendmail, and the sendmail to cssmtp bridge. Thought I take baby steps to figure out what I may be doing wrong.
I’m running zos2.2 and just trying to use sendmail for now. This is the first time I’ve ever played with php. I’ve gotten a helloworld.php program to work. So I grabbed a simple php to mail comments to myself. (of course there is more to it than this line).
mail( $webmaster_email,“Feedback Form Results”,$msg )
but I get this error.
NOQUEUE: SYSERR(userid): EZZ9892I unable to setreuid from 1 to 0: EDC5121I Invalid argument
This is where the fuzzy comes in. I’ve tried so many things to fix the first part, I’m not sure what might work. I believe it’s my configuration but not sure where. The second part I’m not sure about. Any help would be much appreciated.