Hi Team, i one of the requirement i have to send encrypted email from UiPath i know there are no options in UiPath but is there any vb script for the same. Kindly help here.
The activities to send Outlook emails do not offer support for encrypted content.
What can be done is to check the option “Encrypt contents …” that is available in Outlook Options / Trust Center / Email Security and let Outlook handle the encryption.
Thanks,
Ashok
Hi Ashok, i cant change the settings of the outlook actually other bots are running which dont need encrypted emails only for this process we need, if any vb or python code that we can invoke can work
Create the VBScript file- Save the above VBScript code into a file,
Example:- SendEncryptedEmail.vbs (C:\path\to\SendEncryptedEmail.vbs)
Invoke the Script from UiPath- Use the Invoke PowerShell or else Start Process activity in UiPath to run the VBScript.
This approach provides a workaround to send encrypted emails using UiPath by leveraging VBScript. Adjustments might be needed based on your specific SMTP server and encryption requirements.
Hi jinal,
Is there any VB code for the same? I dont know how to write a VB code.Also i am using Send outlook mail message activity
PFA VB.NET Code for Sending Encrypted Email