Send email with bash script

I usually install mutt and use that:

mutt -s “Subject” -a /path/to/attachment – [email protected] < /path/to/body.txt

Just to give an alternative

1 Like