I have a problem in a process.
When the user sends an email, it shows it as sent successfully, but if the mailbox is full, it is not received.
Is there a way in UiPath to previously check if the mailbox is full?
I have a problem in a process.
When the user sends an email, it shows it as sent successfully, but if the mailbox is full, it is not received.
Is there a way in UiPath to previously check if the mailbox is full?
Unfortunately we don’t any API for this.
You can try this PowerShell script for this.
Get-MailboxStatistics -Server <servername> | Sort-Object TotalItemsize -Ascending
Thanks,
Ashok
This option does not work for me because I do not have the possibility of running the power shell as an administrator.
Can you think of another option that could work for me? Thank you
Not an easy way but if you have outlook installed try this approach.
Right click on you mail account -->Click on Manage account
Then on popup, Click on Accounts -->Storage and here you can get the total storage.
Use Ui activities like Click for this and you would be able achieve this.
Thanks,
Ashok
@Marisa_Ontiveros1 , may be look at this problem from the other side. What would be the solution if the mailbox is full? Do you delete old emails? If that’s case, then program the bot to delete all old emails older than a relative date, before sending the email.