[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] How to specific the name for the receipt when using the program 'mail' (based on msmtp)?



Hi!

On Wed, 18 Mar 2015 13:11:09 -0500, Peng Yu wrote:
> The following command can send an email to somebody. But there is no
> name associated with the recipient.
> 
> echo 'Message body' | mail -s 'Email subject' somebody@...45...

This has nothing to do with msmtp. Your mail program needs to set a
proper 'To:' header. If it cannot do this, you might want to try a
different program, e.g. Mutt.

Regards,
Martin