cat .msmtprc
account yahoo
tls on
tls_starttls off
tls_certcheck off
auth login
host smtp.mail.yahoo.com
user xxxx
from x...@yahoo.com
password yyyy
account 163
host smtp.163.com
user zzzz
from z...@163.com
password wwww
auth login
tls off
There are two mail accounts
if i want to send email with account yahoo ,
cat demo_email | msmtp -a yahoo x...@qq.com
if i want to send email with account yahoo ,
cat demo_email | msmtp -a 163 x...@qq.com
How to send email with specified account name and attachment?
The arguments in `man msmtp` contain no argument on attatchment.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
msmtp-users mailing list
msmtp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msmtp-users