Problemas con actividad SEND EMAIL

lo estoy ejecutando en el ciclo do-while para que envie la informacion generada despues de una consulta a una base de datos, pero solo me envia 2 de 4 correos que se tienen que enviar. El error que sale es el siguiente
Send Email: Cannot access a disposed object.
Object name: ‘Google.Apis.Http.ConfigurableHttpClient’.
Acabo de ingresar a la plataforma y estoy revisando si es conveniente empesar a usarla.

Hi @David_Santamaria

The error message “Cannot access a disposed object” means that the object you are trying to access has been garbage collected. This can happen if you are using a variable that is no longer needed, or if you are trying to access an object that has been deleted.

In your case, the error message is occurring because the Send Email activity is trying to access a Google.Apis.Http.ConfigurableHttpClient object that has been garbage collected. This is likely because you are using the Do While loop to send multiple emails, and the ConfigurableHttpClient object is being disposed of after each email is sent.

To fix this error, you need to make sure that the ConfigurableHttpClient object is not being disposed of after each email is sent. You can do this by creating a new ConfigurableHttpClient object for each email that you send.

Hope it helps!!

1 Like

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