SendMail simply sends text. It is you that will have to format that text properly. Bring up an HTML formatted email, then look at the source code to see how multi-part email work.
https://www.mql5.com/en/forum/123928

Send HTML formated Email and Attachment
- 2010.02.15
- www.mql5.com
I like to send an html formated email with attachment from MQL, how to do that? is there any external dll to do this...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello
Out of curiosity, could I add html and CSS code to the body of the SendMail function in MQ4, so I can style this in my companies corporate colours?
Thanks
Todd