I am trying to send html formatted email via shell script while reading a tab separated text file in array and need some help. I can see there were multiple similar question on forum and I also have multiple working scripts which can send html emails but I am not able to fit that code when I am inside an
Tag: sendmail
Using Sendmail from an external server
I have a server with a webapp and a mail server (who use sendmail to route mails). We need to migrate the webapp to an auto-scaling schema, so, I can’t have the mail server in there, so, I’m thinking on leaving the mail server right where it is now. So, to send mails I have different alternatives, I don’t want
Send email with html body and some attachment with sendmail
Follwing this https://stackoverflow.com/a/11725308/1507546, I could send an email with one attachment. However the body is always empty. Why is my function sending emails with empty body and how to fix it? Answer I figured it out after playing with the headers, this worked for me.