Sending Email with Gmail and Custom From Address Using GNU Mail
In this guide, we will walk you through the process of sending an email using Gmail as the SMTP server and customizing the “From” address using the GNU Mail command-line utility on a Ubuntu-based system. This can be useful if you want to send emails from a specific address other than your Gmail account.
Prerequisites
Before you begin, make sure you have the following prerequisites: