A simple solution:
-
Use “Send SMTP Mail Message” instead of “Send Outlook Mail Message”:
- This activity doesn’t depend on Outlook being signed in.
- You’ll need to configure SMTP settings for your email provider (like Gmail, Outlook, etc.).
Quick guide-
- Use the Send SMTP Mail Message activity.
- Set the SMTP server (e.g., smtp.gmail.com for Gmail, smtp-mail.outlook.com for Outlook).
- Provide the port (typically 587 for TLS or 465 for SSL).
- Input your email address and password for the Sender credentials.
-
Retry Mechanism:
- If the SMTP method still doesn’t work, you can use a Try-Catch block to handle errors and retry sending the email when Outlook is signed back in.
For more details on SMTP setup, check UiPath SMTP Mail Message Documentation.
if it is working then please mark it as solution it will be helpfull to others!!
happy automation!!