I have installed msmtp , and it seems to be working OK:
echo "Hello" | mail -s "Testing SmSMTP" destination@gmail.com
The email arrives to destination, But the
From
field is a **ugly** email text like johnsmithsales@hotmail.com
.
I mean: johnsmithsales@hotmail.com
is **correct**, of course, but I would like the receiver to read some **more professional** John Smith - Sales Department
, like it can be done on any other email client.
What is the **proper way** to achieve this with MSMTP?
**Further notes**:
- I am running **Ubuntu** v20.04 .
- I have installed the **packages** msmtp msmtp-mta mailutils
.
Asked by Sopalajo de Arrierez
(6821 rep)
Jul 1, 2021, 11:38 PM
Last activity: Jul 1, 2021, 11:45 PM
Last activity: Jul 1, 2021, 11:45 PM