Email and Webmail

What is the path to sendmail?

Updated January 2026 11,476 views 1 min read
Email & Webmail | Updated January 2026

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.

01. Where You Might Need This

  • PHP configuration - The sendmail_path in 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.
Better Alternative

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 Ticket

Quick Recap

  1. Path: /usr/sbin/sendmail
  2. Already configured in PHP on our servers
  3. Works for PHP, Perl, and other scripts
  4. Consider SMTP instead for better email deliverability
  5. See Server Paths article for other binary locations

Server configuration reference · Last updated March 2026 · Browse all Email articles

Share: X in Reddit f Email
  • 598 Users Found This Useful

Was this answer helpful?

Related Articles

How to Migrate Your Email to a New Host

Email and Webmail | Updated July 2026 Moving your email to a new host means copying the...

Email Firewall Block: Too Many POP3 or IMAP Logins

Email and Webmail | Updated August 2026 If your IP was blocked by the server firewall with a...

SPF: Sender Policy Framework

Email and Webmail | Updated March 2026 SPF (Sender Policy Framework) is a DNS record that...

550-not permitted to relay through this server

Email & Webmail | Updated January 2026 The "550 not permitted to relay" error means the...

What URL should my users go to to get their webmail - I don't want them to log in to the control panel just to get their email

Email & Webmail | Updated January 2026 You can access webmail for your hosting account...



Save 30% on web hosting - Use coupon code Hosting30