Sending Signature in HTML Format When Using Send SMTP Mail Activity

Hello,

Please see the attached picture, how can I send it same way (color, formatting, etc…all) using SMTP Mail Activity? I tried doing it but unfortunately it is not working. Any help would be appreciated.

Test Nirmit | IT&S - Revenue Cycle Systems
RWJ Barnabas Health | 2 Crescent Place | Oceanport | NJ 07757
111.111.1111 | Test.Nirmit@rwjbh.org

@nirmit.kansagra

You can use isbodyhtml property checked in properties panel

And then create a html string for the signature you need.

A sample here

<b>Test Nirmit</b> | IT&S - Revenue Cycle Systems</n> <b>RWJ Barnabas Health</b> | 2 Crescent Place | Oceanport | NJ 07757</n> 111.111.1111 | <a href="mailto:Test.Nirmit@rwjbh.org">Test.Nirmit@rwjbh.org</a>

Cheers

@nirmit.kansagra,

Could you please specify if there is any error or what was the result?

Hello @nirmit.kansagra

Have you tried selecting the option Body as html as shown below, before adding your String variable to the Body input?

Perhaps it works, however, I have also experienced issues with formatting mail body in this particular activity.
The “old” version of the activity had a boolean property IsBodyHTML which seemed to work.

Regards
Soren

When I copy your HTML code I am getting error stating ‘Body’: BC30198:‘)’ expected.

Argument ‘Body’: BC30037: Character is not valid.

Is there a way to fully replicate the color and everything? It seems like it prints in blank and bold color thats about it.

@nirmit.kansagra

Thats an example ..you can add color and all as well..that might be because you would need to surround with inverted comma and also escape each inverted comma inside yhe string with double inverted comma

From " -> ""

Cheers

Got it, I see I will give this a try. Also, are there any good websites out there that can convert it to HTML? Or how do you recommend if I want to convert something to HTML format?

@nirmit.kansagra

chatgpt can help

also you only need to add color so little style should do

or just send an email and retrieve using get mail and use currentmail.bodyashtml you would get the html body

cheers

I was able to figure this out by performing following:

Use Activity “Create HTML Content”

Once this is done combine this with the Send SMTP and use your HTML content variable as your Body variable and it works as expected :smile:

This is what it looks once an email is sent :smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.