I am trying to use the Send SMTP Activity and have IsBodyHTML checked but unfortunatley it does not put my signature in same way as I can with Use Desktop Outlook App activity. Does anyone know how to solve this? Essentially, when I schedule to send mail via this activity I want to use same signature/color formatting and all that I use in my outlook desktop app.
Send SMTP Mail Message has nothing to do with Outlook. Outlook doesn’t even have to be installed. In order to add a signature to the email, you’d have to hard-code it as HTML in the body of Send SMTP Mail Message. Same goes for all the other fonts, colors, etc you have to mimic that with HTML in the body.
you can manually add your Outlook signature in HTML format into the email body in UiPath when using the Send SMTP Activity. Ensure IsBodyHTML is checked to preserve formatting. Alternatively, you could use the Outlook API or Microsoft Graph API to send emails, which would include the signature and formatting from Outlook. Another option is to use the Use Desktop Outlook App activity, as it preserves the signature and formatting more effectively.
If you found helpful, feel free to tick as a solution.
Happy Automation
I have IsBody checked off but when I past this code in the body I am getting an error stating arguement ‘Body’: BC31173: Missing required white space.
Here’s the HTML code, what I did is I copied my signature from outlook app, then pasted it into word and did save as HTML opened it into notepad and below is what I got for HTML.