How to insert name and relevant photo to the birthday wishes template

Hi @Udesheyy

I think for creating a birthday wish template u can html template
create the birthday wish template using html in notepad.

then read the notepad and then store in string

As sample u can use the below as template

                              <html>
                               <body>
                                 <h2> Happy Birthday Name </h2>

                                  </body>
                                   </html>

now replace string data some data with Name, designation and photo [For photo i reccommened to use this activity : Send Inline Images in Outlook Email - RPA Component | UiPath Marketplace]. In above sample to replace Name, u can use string_var.replace(“Name”,Name) where Name is the variable which stores the name
Then send it

Now u
Regards,

Nived N

Happy Automation

1 Like