Wildcard characters in SEND_MAIL or call object

Discussion created by HimanshuKhandelwal626469 on Jun 3, 2016
Latest reply on Jun 3, 2016 by Peter WIRFS

I am trying to send multiple files through SEND_MAIL or call object. Since the file names are unknown(except the file format) so I want to use the wildcard characters but it is not working.

:SET &OUT# = SEND_MAIL("hk@abc.com",,"Meeting","Attached are the meeting documents","E:\*.pdf")

Same issue with call object as well where I provided the path and file name with wildcard characters in "Attach file From AutomationEngine"

Is there any way to send files with wild character?