Sendmail unix utility

Sendmail is a popular open-source mail transfer agent (MTA) that is used to send and receive emails on Unix-like operating systems. It is a command-line utility that allows users to send emails from the command line.

Here are some basic sendmail commands:

Sending an email

Options

Example email file

Here is an example of an email file that can be used with the sendmail command:

From: [email protected]
To: [email protected]
Subject: This is a test email

This is a test email sent from the command line using sendmail.

Common sendmail commands

Security considerations

Alternatives to sendmail