Mutt – A Command Line Email Client to Send Mails from Terminal

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Tarunika Shrivastava

I am a linux server admin and love to play with Linux and all other distributions of it. I am working as System Engineer with a Web Hosting Company.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

27 Responses

  1. Marv Wold says:

    First of all, this site has been very helpful to me. Thank you.

    I have a script file that reads:

    set realname="Client Name”
    set from = ""
    set use_from=yes
    set envelope_from ="yes"

    At the receiving end, the email address ( works great whether you click on it in the header or if you use REPLY.
    Where it fails is if you send it to an invalid address. It does not let you know it failed.

    Is there another something I should set? A SENDER setting?

    If I send it to I get no notification that the email could not be delivered. I do if I send it from my personal address, so I know that there isn’t really a

    My client needs to know if their invoices and statements are not being received.

    Any help would be greatly appreciated.

    • Marv Wold says:

      I should probably mention that is an alias that sends an email to two different employees. It seems to work fine if you send it from a single name. Is an alias email just not going too work?

  2. Marcin says:

    Is it possible to send mail with attachment in command line?

    Now when I, for example, put in “mutt -s “Test after that see mutt interface where I have to confirm many things. I don’t want it.

    I need an application which send me an email with an attachment from a command line without any confirmation. Only one command, enter and nothing more

  3. sri says:

    how can i unable mutt in my unix

  4. maidhar says:

    Hi ,
    What is PGP:clear ?,it is showing none to me.

  5. Prince says:

    I want to send the report of more than 400k records in CSV as an attachment but ‘mutt’ is not working, could you please help me in this.

    • Ravi Saive says:


      May I know what error you getting while sending attachment through mutt? try this command:

      # mutt -s "Subject Here" < /tmp/message.txt -a /tmp/file.csv
  6. junaid says:

    hi admin i have an issue, the cat .mttrc not works

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 257,757
  2. 11,967
  3. 39,682

Are you subscribed?