use get mail with include mime content checked then for each mail use save mail message with mail as input and filepath “temp.eml” then read mail message from file with “temp.eml” output to mailMsg then add queue item with specific content fields like “Subject” = mailMsg.Subject, “Body” = mailMsg.Body, “From” = mailMsg.From.ToString
If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath
Well… you kinda can. But you have to serialize them first and deserialize them on the other end, and sometimes it will accept a more complex type if it can be easily serialized.
Thats abit semantic of course, cause if you turn it into a string its technically no longer a complex object.
However, I digress.
The real issue here is that a O365Message is not serializable if I recall correctly.
It requires a connection to the mailbox, and trying to put it to a queue item breaks that, its only possible to pass detail of the queue item, such as the ID, so that you can find the email again in the performer consuming the queue item.
The scenario is in dispatcher(Init state) i need to read the mail. In performer (process state) i need to move that mail to another folder(Bot processed). If i am using Move mail activity from Microsoft 365 classic. It requires mail message as input.
For above scenario we have any other alternative options?