Good morning….

I have the open source PHP installed on my development box and have successfully implemented SimpleSamlPhp that gets me logged into a clients web portal. I am trying to add some error handling that will send an email when something goes wrong. I have in my php.ini file the SMTP, sendmail_from, and smtp_port set. Everything seems to work fine, except I don’t get the email. I get an entry in the email log that an email was sent, but in the error log I get:

sh: -t: not found

I have searched the web but nothing specific to the IBMi comes up. The one thing that seems to come up most for other platforms is to add a sendmail_path entry in the php.ini file. I have searched for a file called sendmail in the /QOpenSys area but none was found, so I don’t know what to put in the sendmail_path setting.

Does anyone have an idea on what I need to do to fix it?


Matt Hopkins

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.