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

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

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.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

15 Responses

  1. NewtownGuy says:

    How do I send a text message where mutt does not add any additional information ? I can use SMS gateways just fine, the problem is that when I use a Linux command of the form: echo “text” | mutt, the text that comes through is of the form, text. I need it to only be “text”.

  2. Vipin says:

    how to add more than one recipients in cc?

  3. Tom Adriaansen says:


    When I sent a mail from my Linux box, with

    mutt \
    -e ‘my_hdr Content-Type: text/html’ \
    -s “${NOW} Controle File-Set SnapShots and Replications (${SUBJ})” \
    -a “/rbm/scr/rbm_check_snap_repl_legenda.html” ${TO_ADDR}

    I get the attachment as inline in my outlook 365 mail. The legenda file I mean.

    –liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline
    V7000 File-System
    rbndtcv7k lnx_nfs_appldev_002 512G 15G 3% 498G
    –liOOAslEiF7prFVr Content-Type: text/html; charset=us-ascii Content-Disposition: attachment; filename=”rbm_check_snap_repl_legenda.html”
    Legenda: icTwa

    What do I have to do, to get an real attachment in outlook 365


  4. santhosh says:

    how to send mail mutt to gmail i did not getting any errors and any mail ,how to reslove the this issue

  5. Can mutt be used to send mail to more than one person in bcc and cc?
    If yes , is the delimiter? It was not working for me.

  6. David Juma says:

    i tested this on Ubuntu 12.04 LTS server. It works perfectly. Thanks a lot for the great article,keep it up!

  7. Salman says:

    Great ! i was thinking something like this to test my mail server… thanks

  8. prashant desai says:

    this all things are nice, thanks for all
    i am new for centos 6.4,6.5 server but i allways follow your website for my work. thank you all of you.

  9. niraj says:

    Informative document

Leave a Reply

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

Join Over 95000+ Linux Users
  1. 57,739
  2. 3,201
  3. 25,639

Enter your email to get latest Linux Howto's