Jump to content

Recommended Posts

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...