简体   繁体   中英

unable to send mail using Mutt

Recently we have migrated Unix OS to new flavor. Since then we couldn't able to send mails. I think we are missing some configuration, Could someone help in resolving the issue.

Command: echo "" | mutt -s "subject" -i /tmp/test.txt -a /tmp/test.txt xxx@gmail.com

Error: Can't stat xxx@gmail.com: No such file or directory
       xxx@gmail.com: unable to attach file.

Current OS: Oracle Linux Server release 7.1

Mutt 1.5.21 (2010-09-15)

Please let me know what would be the issue.

Take a look at the man page . It states, that -a takes a list of arguments, which need to be terminated by -- .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM