I have a use case where I need to send emails to users. I need to use different outlook mailboxes installed in the virtual machine. Can the bot achieve this in a VM.
I know that this can be done by using an attended robot. I want to know if we can send emails using different mail box in VM.
Check exchange activities. You need to pass credentials (for ex. user and password), domain, server and if there is more mailboxes associated with that user - then also mail address.
We use O365 in my organization that operates through an API which makes it easy to switch accounts, but it looks like there is a property called Account where you could pass in the account name in Outlook Mail Messages - that may solve your issue.
If you just use the Send SMTP Mail Message activity you can designate any “from” address you want. You don’t even need Outlook installed. Much simpler and more reliable.