What is Sendmail?

Sendmail is a very popular Mail Transport Agent (MTA). It is used to send email between servers. It runs in the background on our servers, and most users generally don't ever need to interact with it directly.

What is the path to Sendmail?

Sendmail is located at:


If you have VPS Hosting or Dedicated Hosting, you can find the path by using the "which" command:

user@vps#### [/]# which sendmail

A Command Line Example Using Sendmail

Users generally don't need to call sendmail directly from the command line, but in case you're looking for it for a specific reason, we've included an example below that shows how to send an email from the command line using sendmail:

root@vps#### [/]# /usr/sbin/sendmail -t
To: user@domain.com
From: sender_user@domain.com
Subject: This is the subject of the email
This is the body of the email.
root@#### [/]# 
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Support Center Login

Social Media Login

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
n/a Points
2014-08-04 7:35 am
Thank you

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

1 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!