How to Forward a E-mail with HTML body?

i have a requirement to forward a message that body contains HTML, when i forwarded a mail that body contains HTML code only. how to resolve this issue please let me know if any body konows.

but that code works properly for sending a mail.

Thanks,
Niranjan Nellutla

1 Like

@Niranjan_Nellutla,

Please check “IsBodyHtml” property of send mail activity,
Please find it as reference in attached snapshot,

Cheers,
Pankaj

2 Likes

yes Pankaj i given that also, but it’s not taking in forward mail.

when i send it’s working.

when you forward the email won’t your subject line change to FW: Test?

maybe you would need to modify the subject line in your sequence accordingly to “*Test” ???

i didn’t change my subject line.

@Niranjan_Nellutla,

Would you like to attach your workflow we can verify the code/properties of activity?

Cheers,
Pankaj

@Pankaj.Patil
In this workflow two xaml files are there.
main.xaml for send a mail i.e working fine.

but another one is forwarding mail that is the issue i faced.

1 Like

Thank you for supplying a zip file :slight_smile:,

I went through your xaml and doc file but did not run it, whatever you wrote in docs same you can write in ‘Body’ property too and write excel value at wherever they are required.

Cheers,
Pankaj

@Pankaj.Patil

That docs message already attached with the body property as well like this

in this “out_word” variable have the body message.

@Niranjan_Nellutla,

I just ran it by taking send outlook mail message activity, that worked well :slight_smile:,

Please see my output, I cant attach my email, I am sorry.

Email%202

Cheers,
Pankaj

@Pankaj.Patil

that is working fine, that’s send a message,
after that got reply and now we want to forward that message with another HTML body so that time i got a problem.

I had this issue and we fixed the problem by checking “IsBodyHtml” in the “Get Exchange Mail Messages” activity.

Then, when you go to forward the email with the “Send Exchange Mail Message” activity, the HTML will be preserved.