I’m trying forward an email with additional text in the body. However, the body appears empty instead of containing the message I added. I want to forward the email to additional recipients without including the original sender, similar to a “reply” but only to new recipients. Could you help me resolve this issue?
which activity are you using for this task?
I’m using the “Send Exchange Mail Message” activity.
Could you please confirm if you are using plain text or HTML format for the body?
If u are using plain text.
It might be a formatting issue with the variables. Can you share the body text you are trying to include, along with how you are setting the variables?
Yes i am using plain text , The body text is “Hello, here is the fwd message.” followed by some variables like message.Subject
and message.Body
.
If you need to include any formatting (like line breaks), it’s better to use HTML. You can structure your message like this:
"<p>Hello, here is the forwarded message.</p><p>Subject: " + message.Subject + "</p><p>Body: " + message.Body + "</p>"
Set the “IsBodyHtml” property to True
to enable HTML formatting.
You can set the “To” property with the new recipients’ email addresses directly. Ensure that the original sender’s email is not included in this list. Here’s how you can set the properties:
To
: NewRecipientsEmailList (a string variable containing the new recipients’ emails separated by semicolons)Subject
: "FW: " + message.SubjectBody
: "Hello, here is the forwarded message.
Subject: " + message.Subject + "
Body: " + message.Body + “
”IsBodyHtml
: True
Thanks! I’ll implement these changes and let you know if it works.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.