Using 'mutt' instead of 'mail' in Linux
With
mutt
instead of mail
you would simply callecho "body" | mutt -s "subject" -a attachment0 attachment1 [...] -- my@email.com
Some old verison of linux doesn't support the 'mail' command for attaching files.
So this will be useful for sending mail with attachment on those servers.
Comments
Post a Comment