Mailx syntax

mailx is a command-line email client that allows you to send and receive email messages. Here are some basic syntax and options:

Basic Syntax:

mailx [-options] [-to recipient] [-cc recipient] [-bcc recipient] [-subject subject] [-body body]

Options:

Recipient Options:

Message Options:

Examples: