Was ist mutt
Mutt ist ein textbasierter E-Mail-Client. Mutt ist dafür bekannt, ein schneller und hochgradig konfigurierbarer E-Mail-Client zu sein, und da er textbasiert ist, ist er ideal, um E-Mails schnell über SSH zu überprüfen.
Mutt installieren
Mutt mit yum installieren:
# yum install mutt ... ======================================================================================== Package Arch Version Repository Size ======================================================================================== Installing: mutt x86_64 5:1.5.21-26.el7 basecd 1.4 M Installing for dependencies: mailcap noarch 2.1.41-2.el7 basecd 31 k tokyocabinet x86_64 1.4.48-3.el7 basecd 459 k urlview x86_64 0.9-15.20121210git6cfcad.el7 basecd 27 k Transaction Summary ======================================================================================== Install 1 Package (+3 Dependent packages) Total download size: 1.9 M Installed size: 7.3 M Is this ok [y/d/N]:y
Mail mit Anhang versenden
Mit dem Mutt-Tool können E-Mails mit großem Nachrichtentext und Anhang gesendet werden.
1. Verwenden Sie den Mutt-Befehl im folgenden Format, um Betreff, Nachrichtentext und Anhang anzugeben, um E-Mails von der Befehlszeile aus zu senden.
# echo "" | mutt -s "subject" -i body.txt -a attachment.txt [email protected]
-s used to specify subject of mail. -i used to specify file containing message body. -a used to specify attachment file.
Einige andere häufig verwendete Optionen mit Mutt sind:
-b used to add Bcc address. -c used to add Cc address. -e if you want to specify sender's address (something other than default).UNIX / Linux :Wie installiere und konfiguriere ich mutt
Linux / UNIX :Wie man Mails mit Anhängen mit dem mailx-Befehl versendet
Wie man Mails mit Anhängen mit dem solaris mailx-Befehl versendet