I want to change the body of mail and subject regarding that body is it possible?

Hello UiPath family, I want to change the body and subject every time in the same mail automation if I create a NUPKG file if I deploy that in the server we can change the email body information every time and the subject also? if it is possible how?

if anyone helps me with this its really need.

Thank you
Chethan P

Do you have a list of predefined bodies and subjects? Or will a user be inputting these for each message sent? Also which UiPath mail activity are you using, Send Outlook or Send SMTP?

1 Like

User be inputting and am using SMTP mail activity

@Chethan_P

So, It’s a attended automation.

You can place a text file in a shared folder and ask the user to modify that file when it is required
You can read that text file in the body and make sure that IsHTML is enabled

Hope this way might works for you

Thanks

1 Like

would you please explain briefly if you don’t mine i really need this.

@Chethan_P

As i said,

Create a Shared drive which have the access from server and place your text file with HTML template there
Place a Read Text file activity and give the path as the shared drive text file
So the output variable from Read Text activity place in body

Ask the user to change that file when he required to change the Email Template

So your bot will look into that file when it is trying to send the mail

Hope this is clear for you

Thanks

1 Like

@Chethan_P
You can write the subject and text you want into an Excel file and get it through for each row
Regards.

1 Like

Thank you I will get back to you soon.

1 Like