首页 > 代码库 > Mail

Mail

1.set in /etc/Muttrc file these setings:

set realname="Ashok Kumar"

set from="Ashok.Kumar@unknown.domain"

set use_from=yes

2. use export

export EMAIL=sender@domain && mutt -a /path/to/attachment -s "Subject" ABC@ABC.com < /dev/null

sudo mutt -s ‘test attachement‘ linda.xu@autodesk.com -a report.html <mail.body

mutt -s ‘Search benchmark Report‘ linda.xu@autodesk.com -a report.html <mail.body