Question: What Is Mailx Command in Unix?
Contents

mailx is an intelligent mail processing system, which has a command syntax reminiscent of ed with lines replaced by messages. It is based on Berkeley Mail 8.1, is intended to provide the functionality of the mail command, and offers extensions for MIME, IMAP, POP3, SMTP, and S/MIME.

What is mailx in Linux?

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 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 г.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest