• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Mutt - Send Emails in terminal

{{postValue.id}}

Sending Email in command line terminal by using Mutt

Mutt is a command line based Email client tool to send and read mails in linux based systems. It also supports POP and IMAP protocols for receiving mails. Installation of Mutt is explained in this article.

Features

  • MIME support (including RFC2047 support for encoded headers).

  • Message threading.

  • POP3 support and IMAP support

  • Support for multiple mailbox formats (mbox, MMDF, MH, maildir)

  • Delivery Status Notification (DSN) support

  • Reply to or forward multiple messages at once

  • Easily include attachments while composing.

To Install the mutt package

[root@linuxhelp Desktop]# yum install mutt
Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo,
              : verify, versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.webwerks.com
 * epel: ftp.jaist.ac.jp
.
.
.
  Installing : 5:mutt-1.5.20-7.20091214hg736b6a.el6.x86_64                                            1/1 
  Verifying  : 5:mutt-1.5.20-7.20091214hg736b6a.el6.x86_64                                            1/1 
Installed:
  mutt.x86_64 5:1.5.20-7.20091214hg736b6a.el6                                                             
Complete!

Open the mutt mail terminal by using the following command.

[root@linuxhelp Desktop]# mutt

mutt mail terminal

To send the mail

Press option ‘ m’ for sending mail and enter the mail id.
option m
Enter the subject and message to be sent.
message

message to be sent
Press ‘ y’ option to send the mail.
y option
Mail sent notification appears as shown below.

notification
Open the mail account and check whether the mail is received or not.
mail account

testing

To Send mail with attachment

Press option ‘ m’ to send mail and enter the mail id
m option
Enter the subject and the message to be sent.
message


message to be sent
Now press option ‘ a’ to add an attachment.
adding attachment
Enter the file to attach as shown below.
attached file
After attaching the file, the details of that attached file appears as follows.
attaching file
Again press ‘ y’ option to send mail. Go to mail account and check whether the mail is received or not.
y option


file checking

To send mail with Carbon Copy (cc) in mutt

Open the mutt terminal and press ‘ m’ . Enter the mail id , subject , message and attach the file (if required).

Enter option ‘ c’ now the cc column will be opened, now enter the mail id for cc.
mail id for cc
Press ‘ y’ to send mail. Go to mail account and check the mail .
mail check

message to be sent

Snapshot for cc mail received

cc mail received

message

To Change the senders name and email

If we want to change the senders name and email, create a file in that particular user’ s home directory.

[root@linuxhelp ~]# vim .muttrc
set from = " linux@linuxhelp.com" 
set realname = " Realname of the user" 

In the newly created .muttrc file, enter the sender name. Save and quit the file.

Open the mutt terminal and press ‘ m’ . Enter the mail id , subject , message, attach the file (if required) and finally press option ‘ y’ to send mail.

Navigate to the mail account and check the mail.

mail account

mail check

Tags:
connor
Author: 

Comments ( 2 )

parthiban
Normally you can check your logging in the following file /var/log/maillog
anon
you gave no information about logging in which is the most critical part you retards.
Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

what is the latest stable version of Mutt?

A

The latest version of Mutt 1.10.1 released on july 16, 2018

Q

Where i can find Mutt official page?

A

You can find official page of Mutt from the followinhg link, http://www.mutt.org/

Q

I'm having problems after an upgrade and my old mutt is giving me errors how to fix?

A

read the !ChangeLog of MUTT in source package for changed features and new manual.txt passages for problem items

Q

How to install mutt form command line centos 7?

A

To install mutt form command line centos 7 use the following link

yum install mutt

Q

Where i can check the logs of Mutt ?

A

you can verify the logs of Mutt from the usual log path

/var/log/maillog

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.