I use the REFramework process to read employee information from an Excel file and send an email to each employee. There are no errors when the transactionNumber is 1. However, the second time I encounter an error like this:
Send Email: Cannot access a disposed object.
Object name: 'Google.Apis.Http.ConfigurableHttpClient'.
I tried to replicate the same error but I’m not succesful
I’m able to send the email without any issue
Can you check if any of the variables you are passing are getting null?
Also understand that you have click on select all while authenticating
I have the same issue. It occurs anytime that the “Use Gmail” activity is encountered more than one time in a single execution/robot. I believe it only happens if you are using the Integration Service, but cannot confirm that right now.
Hi. I made a sample project to show you how this error occurs.
I think the fix would be to throw a warning that says something about the html template path being in the wrong place. Or somehow editing the send email activity so that if you put the html template in those places it doesn’t mess up. Or just simplifying the options in the activity so it’s easy to know if the email will send a regular TEXT email or if it is sending a HTML email.
As you can see, the first email succeeds because the Html Template Path is only in the “body document path” field in options.
The second and third emails do not send (you might have to comment out other code to run these each one at a time).
Second email error: This fails because the html template path is only in the “HTML body from text” option and that breaks the email sending.
Third email error: This fails because the html_template_path is in both the “body document path” and “html body from text” option and causes an error.