The path to sendmail on Ultra Web Hosting servers is /usr/sbin/sendmail. This is the standard location used by PHP, Perl, and other scripting languages to send email from your website.
/usr/sbin/sendmail
This path works for PHP scripts, Perl scripts, contact forms, and any application that asks for the sendmail binary location. On our servers, this is actually Exim's sendmail-compatible wrapper, which is the standard setup on cPanel servers.
01. Where You Might Need This
- PHP configuration - The
sendmail_pathin php.ini is already set correctly on our servers. You should not need to change it. - Application configuration - Some apps ask for the sendmail path during setup. Enter
/usr/sbin/sendmail. - Perl scripts - CGI scripts that call sendmail directly should use this path.
For website contact forms and application emails, we recommend using authenticated SMTP instead of sendmail. SMTP provides better deliverability because messages are sent with proper authentication headers. See Why Does My Form Not Send Email? for setup instructions.
For other server paths (PHP, Perl, Python, ImageMagick, etc.), see Server Paths - PHP, Perl, Python and More.
Email Sending Issues?
If your script cannot send email even with the correct sendmail path, the issue may be elsewhere. Open a ticket with details.
Open a Support TicketQuick Recap
- Path:
/usr/sbin/sendmail - Already configured in PHP on our servers
- Works for PHP, Perl, and other scripts
- Consider SMTP instead for better email deliverability
- See Server Paths article for other binary locations
Server configuration reference · Last updated March 2026 · Browse all Email articles
