I’m using the outlook activity in a Retry Scope because sometimes Outlook throw error about not being available.
The issue I have is that, often, the last log message (saying that all went good) is executed, but no mail is actually sent. The mail is neiter in Sent items or Sending Outbox, and no error message (not even the one in try/catch) is generated.
Do you have any idea of what is happenning or how I could debug this ?
@Smixi Is anything dynamic in the Mail? Like are there contents that may change for different situations like the To Address or Subject or the Mail Body ?
The three are changing. But for those unsent mail, I added them to transaction again, and again, some of them got unsent, but some of got sent, so the content shouldn’t be an issue.
Note that I’m joining a file in the mail.
To complete information, I just ran the process on 2 unsent mails, one got sent, the other not.
By looking at Trace file, there were not error during the Send Outlook Mail Message activity (status = Executing, and then status = Closed) and even no Faulted activity in the whole process.
Yes, but I cannot share them (they are in proper format, but for confidentiality issue can’t post it). (and it doesn’t change that some unsent mails got sent afterward, and vice-versa).
Same with the mail, but it’s somehow constant (only one part of the mail is changing through a .replace operation.
Facing similar kind issue … bot is getting hanged after processing certain transaction. Purpose of the bot is just to sent emails with attachments and attachment is getting created at run time … and while send the email via SMTP it’s getting hanged …
I have the same problem. I have checked there is only one account configured in Outlook. And only sends de email in the followimg case:
a) Outlool is open
b) you click the send and receive button within outlook.
It does not work alone as it should.
I solved openning the outlook with the robot and clicking in the send /recevive messages. 3 more steps.