Paste a picture on a happy birthday template

Hi All,
I am trying to paste images on a happy birthday template. Any ideas on how to get this done would be great.

Thanks in advance,
Pooja S

Hi @Pooja_Shiv ,

it really depends on the template and the expected format. It occurs to me you could create an html template, replace the image path and send it via email.

Something like this

<h1>Happy Birthday {Name}</h1>
<img src="{imagePath}"/>
<p>Best wishes <br/>
Your Company Name</p>

Make it pretty, add some css (sorry I like css, css don’t like me) and ready to go

Automating your bday cards will be a piece of :cake:

I have the template. It is just that I want to paste a pic on the template. If you can help me, it would be great.

Thank you,
Pooja

Hey!

Could you please show us the template how it looks?

We have to use the HTML Content to attach/Paste the Image inside the body

Reards,
NaNi

Hi Thiru,

Thank you so much offering to help. I have attached the template here.
It is in jpg format. If you do have any suggestions on how to paste a pic on this, please let me know.

Thank you,
Pooja S

Hey!

Try like this

<Html>
<body>
<IMG src="Imagepath.jpg" width=1000 height=1000>
</body>
</Html>

Regards,
NaNi

Hi NaNi,

Thank you so much for sharing this. Can you please help me with how to invoke this in UiPath Studio?

Thank you,
Pooja S

Hey!

We have an activity called Create HTML content…

There we have to write the html code…

And output as string…

Pass that String in mail body that’s it

Regards,
NaNi

Check this created KB article https://uipath-survey.secure.force.com/CaseView/articles/Knowledge/Cannot-see-embedded-images-in-the-sent-email

1 Like