Hi Nandini,
If you are using Outlook, these formatting errors can happen at times depending on your client setting of Outlook as well. I faced the same in one of my prior client where normal HTML won't work. There is special encoded HTML that outlook generates which you can use if you are using Outlook VBO. For this you need to first generate a word template of the email that you want to send with whatever style you want. Below I have taken one example:
Now copy the exact same thing and send an email to yourself on Outlook, once you did that. Open that email by double clicking on it and go to Actions -> Other Actions -> View Source
The HTML code that you get from here is what you can use in you Body parameter and Keep the HTML flag as True and try to send the same. Below is a sample format of how the Outlook encoded HTML body looks like:
In my experience, this has never failed when using Outlook. If you are using SMTP utility, then normal HTML should work considering you keep the HTML flag as True
------------------------------
----------------------------------
Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily
Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website:
https://devneet.github.io/Email: devneetmohanty07@gmail.com
----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.