Send outlook mail message Activity not sending emails if Server is signed out.
I add a delay after Send outlook mail message Activity, But if big attachememts still sending fail after Server signed out.
Is there a best way to solve this issue?
I tried Use Desktop Outlook App activity, but doesn’t work(No error No mail), any configuration error?
The alternate way is to use send SMTP activity
with outlook app(Office 2019) thx
Best way is to not use the app and use the integration service. The outlook app is terrible for unattended automation for reasons such as since.
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!!
@jmy,
As highlighted correctly by Jon, Outlook could be unreliable. Use SMTP or O365.
If no other option than Outlook, add a logic to get email from Sent items sent in last 1 minutes. Keep checking till you get a email. Once got it, you are good.
Hi, what does O365 means?
@jmy,
Office 365 Integration.