简体   繁体   English

无法使用Mutt发送邮件

[英]unable to send mail using Mutt

Recently we have migrated Unix OS to new flavor. 最近,我们已经将Unix OS迁移到新的版本。 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 当前操作系统:Oracle Linux Server 7.1版

Mutt 1.5.21 (2010-09-15) 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 -- . 它指出, -a带有参数列表,需要以--终止。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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