Outlook Email is Not Being Sent/Randomly Gets Sent

Hello All

We are currently facing a strange problem in our automation which uses outlook to send an email at the end of bot run.

This automation has been running fine over 6 months, but suddenly we are facing issues with Outlook

Issue:

  1. In Un-Attended Mode, no error is thrown by send mail activity, however, no email is being sent either.
  2. In Un-Attended Mode, no error is thrown by send mail activity, email is sent but it does not show up in the sent or outbox folder.

This randomly occurs and sometimes we the email is sent (received by end-user ) and shows up in sent items as well

This issue does not happen when we run the bot in attended Mode, it only happens during unattended runs

Things we have Checked:

  1. Only a single outlook email account is configured on the VM
    2.the email account to be used in send outlook account is hardcoded as well (as a precaution post the occurrence of this issue)
  2. Programmatic access is Enabled in Outlook
  3. We can confirm the Outlook is launched in unattended mode and we even have a mechanism to launch it in case it is not launched/open

At no point is any error thrown by send outlook mail activity. Please advise on possible cause and their solutions :slight_smile:

Hi all!

I have a similar problem, specifically when the robot has to send an email from Outlook, (the email sending activity does not cause an error,) it sends an email, but it does not appear in the sent folder or outbox.

Can anybody suggest me a solution for that?
Thanks in advance!

UPDATE: I figured out a solution for my problem. First, I only checked the outgoing mails from the web outlook, after I start the outlook application, my sent letters showed up in both place.

1 Like

Hey team, I am also facing the same issue where few emails were not sent. This behavior is quite odd since i am not able to find any pattern. If anyone can assist here than that would be great.

As a side note was thinking of using SMTP activities instead of outlook one due to the fact that foot print of SMTP is less resource incentive. Not sure if that would help but need UiPath memebrs input on this as well.

Happy learning

SMTP and Graph API are your best solutions

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.