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?
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.