Is there a way to embed images into the body of an email using linux commands like mutt
or sendmail
?
I used this
mutt -e \
It's even possible with the basic mail command
You want to create a mime HTML email a la:
How to embed images in email
Then take the headers (all the lines before the first boundary), remove them from that input and add them individually with the -a command after mail such as:
https://stackoverflow.com/a/12262421/2244213 or Sending HTML mail using a shell script