Mutt Config File for IONOS

nano ~/.mutt/muttrc

#================ IMAP ====================
set imap_user = your@email.de
set imap_pass = yourpassword
set spoolfile = imaps://imap.ionos.de/INBOX
set folder = imaps://imap.ionos.de/
set record="imaps://imap.ionos.de/mbox/Sent Mail"
set postponed="imaps://imap.ionos.de/mbox/Drafts"
set mbox="imaps://imap.ionos.de/mbox/All Mail"
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
set certificate_file = "~/.mutt/certificates"

#================ SMTP ====================
set smtp_url = "smtp://your@email.de@smtp.ionos.de:587/"
set smtp_pass = $imap_pass
set ssl_force_tls = yes

#================ Composition ====================
set editor = "nano"
set edit_headers = yes
set charset = UTF-8 # value of $LANG; also fallback for send_charset
# Sender, email address, and sign-off line must match
unset use_domain
set realname = "yourname"
set from = "your@email.de"
set use_from = yes
set timeout = 30


send email with:

echo „this is body of email“ | mutt -s „this is subject of email“ receiver@mail.com