amazon ec2 - Syntax issue with sending email via mutt on EC2 -
i'm trying send email amazon ec2 node using mutt , i'm getting error i'm assuming syntax can't see i'm doing wrong. i'm trying send email txt attachment
echo "sending test" | mutt -a test.txt -s "test email" name@emaildomain.com
however following errors:
can't stat name@emaildomain.com: no such file or directory name@emaildomain.com: unable attach file
it trying attach file name of email don't understand why. appreciated
in recent versions of mutt -a
option designed allow multiple arguments can -a *.txt
attach number of files match pattern. because of must last option used , separated recipients --
:
echo sending test | mutt -s "test email" -a test.txt -- name@example.com
Comments
Post a Comment