How to specific the name for the receipt when using the program 'mail'?
Peng Yu
pengyu.ut at gmail.com
Wed Mar 18 16:52:04 UTC 2015
Hi,
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 at example.com
Something like the following does not work.
echo 'Message body' | mail -s 'Email subject' 'First Last<somebody at example.com>'
Does anybody know how to specific the name of the recipient? Thanks.
--
Regards,
Peng
More information about the ubuntu-users
mailing list