那些笨蛋都没有为我工作。它以为电子邮件地址是附件的一部分。不得不做:
echo "This is the message body" | mutt -a "/path/to/file.to.attach" -s "subject of message" -- recipient@domain.com

那些笨蛋都没有为我工作。它以为电子邮件地址是附件的一部分。不得不做:
echo "This is the message body" | mutt -a "/path/to/file.to.attach" -s "subject of message" -- recipient@domain.com