Reading writing email with same format

Hello,
i’m working on bot to redirect mails to different other mails for different departments.
I’m reading the mails using the outlook activity and sending them through smtp activity(both for security reasons)

However when i read the mail and pass it into variable and write it in the smtp activity it doesn’t keep the same formate or html format even when i checked the box.

it’s losing spaces, bold fonts, new lines, urls, photos… it comes as long string and sometimes i keep some of the format look a like but nearly nothing

can i preserve same format though ??

@Mohammad_Raafat

Try to pass the body as below and check it once.

            mailMessage.Headers("HTMLBody").Tostring

Thank you @lakshman for quick response and that works much better than before
but still photos passes as attachment not in body mail… any solution for that ?

image