I am having an issue while sending HTML format email - in mail body.
Receiving this email as text format body instead of HTML.
I am having similar HTML format report mail which is working fine for another script and receiving HTML body email.
Command: mailx -s "$(echo -e "$Subject\nContent-Type: text/html")" -S smtp=smtp://mail.ab.xyz.com "XYZ.com" < XYZ.html
Please suggest if any more changes can be done to this command.
Note: Sendmail/Postfix is not configured. I need suggestion with mailx or mail command.
Mail Body as below: Content-Type: text/html Message-ID: <5a11832a.gyypQtWniSUe8SvL%siebel@ZHQEL01P21.kw.XYZ.com> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit