cat .msmtprc
account yahoo
tls on
tls_starttls off
tls_certcheck off
auth login
host smtp.mail.yahoo.com
user xxxx
from [email protected]
password yyyy

account 163
host smtp.163.com
user zzzz
from [email protected]
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   [email protected]

if i want to send email with account yahoo ,

cat demo_email | msmtp -a 163   [email protected]

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to