Send Emails From The Terminal
Intro This article will show how to set-up a local email relay on a Linux machine with msmtp to send emails through Gmail. 2 approaches will be shown: Simple approach: msmtp and App Password. More complex approach with msmtp and mailctl that uses OAuth 2.0 instead of a password. Both of the methods will require a Google account and some patience since there will be some jumping through hoops to obtain correct credentials....