Forrest logo
back to the mutt tool

mutt:tldr:5dd73

mutt: Send an email and specify a subject and a cc recipient.
$ mutt -s ${subject} -c ${cc@example-com} ${recipient@example-com}
try on your machine

This command is using the mutt command-line email client to send an email.

Here is the breakdown of each part:

  • mutt: It is the command itself, referring to the mutt program.
  • -s ${subject}: The -s option is used to specify the subject of the email. ${subject} is a variable that should be replaced with the desired subject text.
  • -c ${cc@example-com}: The -c option is used to specify a carbon copy (CC) recipient for the email. ${cc@example-com} is a variable that should be replaced with the email address of the CC recipient.
  • ${recipient@example-com}: This is the recipient's email address. ${recipient@example-com} should be replaced with the actual email address you want to send the email to.

Overall, this command will launch the mutt program and use the provided subject, CC, and recipient email addresses to compose and send an email.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mutt tool