What Is Mailx in Linux?

What Is Mailx in Linux?
Contents

Linux has an inbuilt Mail User Agent program called mailx. As the name suggests, it is a console application that is used for sending and receiving emails. The mailx utility is an enhanced version of the mail command. … The mailx command is available from a variety of different packages: bsd-mailx.

How does mailx work in Linux?

mailx is an intelligent mail processing system, which has a command syntax reminiscent of ed with lines replaced by messages. … mailx provides enhanced features for interactive use, such as caching and disconnected operation for IMAP, message threading, scoring, and filtering.

How do I send an email with mailx?

Using the mailx command

  1. Simple mail. Run the following command, and then mailx would wait for you to enter the message of the email. …
  2. Take message from a file. …
  3. Multiple recipients. …
  4. CC and BCC. …
  5. Specify From name and address. …
  6. Specify “Reply-To” address. …
  7. Attachments. …
  8. Use external SMTP server.

5 июн. 2020 г.

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.