Just looking to direct an email interaction to a particular queue if it includes .pdf in the file name. Trying to search the Email.Message.attachments , but it does not contain the filename.
Any ideas how I am able to extract the attachment name?
Thanks
John
Email.Message.attachments is a collection of EmailAttachment objects.
What you can do is loop through the collection and check their name property.
Here's an example of getting the name property of the first attachment:
Email.Message.attachments[0].name
And here's an example on how to check if ".pdf" exists in the name of the first attachment:
FindString(Lower(Email.Message.attachments[0].name), ".pdf") >= 0
Great, thanks - will take a look.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.