05-09-23 03:31 PM
Hello,
I am looking to extend the functionality of the IMAP/POP3/SMTP email asset ( https://digitalexchange.blueprism.com/dx/entry/3439/solution/email---pop3smtp )
I cannot use POP3 on my client site due to the way it works with files, so I am restricted to the IMAP/SMTP actions.
The object contains the action 'IMAP List Messages' which nearly carries out the functionality I require - this returns a collection with From Name, From Address, Subject, Date Sent & MessageID.
Two questions then;
1) For the short-term, how can edit the code in this action to return the message body as well?
2) For the long-term, where can I request more functionality added to the asset?
Thanks for any responses.
05-09-23 05:23 PM
You can post your suggestions in the Ideas portal (LINK HERE) for future versions of our product.
06-09-23 03:31 PM
Thanks for the link Luis.
I have figured out the message body here, extending the code with an extra line
Message_Body = result.HtmlBody;
now retrieves the body of the mail including HTML.
A follow-on question if anyone is reading. I'm looking to get the received timestamp as DateTime instead of Date. I could also make use of the 'To' address if it could be pulled.