Knowledgebase: Hosting FAQ > CGI and PHP
Path to sendmail
Posted by - NA -, Last modified by Jen Ferraz on 01 April 2011 11:16 AM

When setting up scripts on the website that send email, the path to sendmail may need to be adjusted in the script's settings to successfully send email.


Please attempt to use the following path in your scripts in the following order until one works:


Adjust the above line so that is your actual email address. There is no space between the -f and your address. If that does not work, try this:

/var/qmail/bin/qmail-inject -fuser\

If it still does not work, try just:


Finally, if none of those work, revert back to using just:


Any of the first three are preferred though.

(453 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako