wigoweb Posted March 7, 2004 Posted March 7, 2004 I have a script that processes a form and requires access to sendmail This is the path I am using: $mailprog = '/bin/sendmail -oi -t'; The script fails with the following message: An error has occurred in the program close sendmail pipe failed, mailprog=[/bin/sendmail -oi -t] at (eval 8) line 108. What should I use for a path? Thanks Quote
TCH-Bruce Posted March 7, 2004 Posted March 7, 2004 This should work for you. $mailprog = '/usr/sbin/sendmail -t' ; Quote
wigoweb Posted March 8, 2004 Author Posted March 8, 2004 Thanks. The TCH forum always seems to come through with the answer. Quote
wigoweb Posted March 9, 2004 Author Posted March 9, 2004 I try to find answers for myself before posting a request. Sometimes after getting an answer, I discover where I could have located it for myself. In case anyone else is trying to learn his or her way around the system here at TCH, here is where I found the answer after Bruce was kind enough to provide it. The Sendmail Path is listed as the last item under Server Information in cPanel. Quote
TCH-Bruce Posted March 9, 2004 Posted March 9, 2004 Well, actually, I didn't look this one up. I use it in my scripts and have been for a couple of years. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.