0

My current code :

echo -e 'Hi Associate,\n <html><body><b>*important</b></body></html> Ticket was assigned to me.Thanks for your Patience.\n Regards,\n Ticket Team' |mail -a file.pdf -s 'Notification' 'xxx@outlook.com'

My output :

Hi Associate,
<html><body><b>*important</b></body></html> Ticket was assigned to me.Thanks for your Patience.\n Regards,\n Ticket Team'

Expected Output :

Hi Associate,

*important*

 Ticket was assigned to me.Thanks for your Patience

Regards,
Ticket Team

important- should be in bold

  • You will find the answer here: https://stackoverflow.com/questions/3317174/sending-html-mail-using-a-shell-script – ufopilot May 28 '22 at 08:19

0 Answers0