Send Email Activity is being inconsistent

Hello Community, It´s me again :grin:

Today I come to open a conversation referring to Mail Activities. I´ve been experiencing very strange behavior from the Use Gmail and Send Email activities.

I´m working on a automation and every time an error occurs it has to send an email. An this is what I´ve been experimenting.

Every first time that an email has to be sent during execution goes just fine, but when the automation needs a second run and so on into the send email mechanism it starts throwing this error.

What is random for me it´s that sometimes it works fine, without any trouble, but then suddenly error begins to occur.

For me what it looks like is that the error might be by a Integration Service connection source thing. Yet I might be totally wrong. What I´m sure of is that definitely, this shouldn´t be working
so inconsistent.
I have watched much resources and I think I have the configurations right and the versión of the package is (UiPath.Mail.Activities v1.20.3 )

So my inquiry is that maybe working with connection might not be that reliable yet (if the source of error is from integration service). This also puts me sad because I like it better than using the classic “send smtp email activity”.

So I would also like to know, what activities that the other developers use to send emails?
Have you had this error?
Am I doing something wrong?

Hopefully, I can get answers from the community I much appreciate. Thank you for your attention.

  • Are you using “Use Gmail” any where in the code , I mean more than once .
    try to check “Isolated” in property panel

  • Are you passing any html content to mail body ?

1 Like

@Luis_Fernando

Please check this …if any of them helps

Cheers

1 Like

Hello @naveen.ramakrishna !!

Here are the properties available, I don´t catch any isolated option.

As you can see also on the screenshots I’m using indeed HTML content.

@naveen.ramakrishna I see that the isolated property is from the invoke workflow file scope. What changes would this make? I do invoke this workflow a few times during execution.

@Luis_Fernando

Cheers

1 Like

Thank you very much Anil!

1 Like

Hello @Luis_Fernando!
Thank you for reporting this bug. In the meantime, we have fixed it, and released the fix in a few versions.
Please upgrade to a newer version of the Mail package. Anything above or equal to 1.19.0 should contain the fix. Let us know if everything worked out for you!
Cheers and happy automating!

1 Like

That´s great to hear @Mihai_Dunareanu! thank you.

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