I have a script, scheduled in cron, sends emails at defined intervals. Those mails are comming because I had set mailx
client in my script, for the same.
mailx -s "sample mail" email@example.com < infile.txt
Those mails are always in plain-text format
. And I want to change it's format to HTML
, so I can customize the mail content like use different fonts, font sizes, colors etc.
I tried to search & read a lot of thread on this topic, but nothing 'really' helped and I am still out of the luck.
However, if anyone has idea about this, then please share.
TIA with gratitude!