I am trying to send an email from Linux server, I want to send an image, not as an attachment, that should be displayed in the message body.
mailx -s "TEST mail" <MASKED>@mask.com < download.JPEG
The above command gave a random junk data in the body of the mail
mailx --append "Content-type: text/html" -s "TEST mail" <MASKED>@mask.com < download.JPEG
The above command didn't work
mutt -a "download.JPEG" <MASKED>@mask.com -s "TEST mail" < /dev/null
The above command sent the image as an attachment.
UUENCODE is not installed in our server, so we shouldn't use the same.
I don't want anyone of the above. I want my picture to be displayed on the body of my mail instead.
Any help on this is highly appreciated.