Most of the time you shouldn’t need to configure an SMTP server you can simply use
sudo apt-get install mailutils). (Or if you’re on a server where sendmail is configured, etc)
marco@dagobah:~$ mail -v firstname.lastname@example.org Subject: Hello World! This is an email to myself. Hope all is well. . Cc:
You terminate messages with a single
. on line. That’s when
Cc: enter the information (or leave blank) and
Linux: How to send mail from the command line?