20-11-23 01:48 AM
Hi guys,
I have trouble when sending multiple files to Outlook email.
In my case; I need to download multiple Excel reports in a day (probably 8 or 10 reports), then rename these files and send them to Outlook email.
All the reports will be formatted as: "Report for [Current Day]_time when downloading report"
I need to send all the Excel files that I have downloaded in a day to the Outlook email by the end of the day. How can I do that when my files are dynamic? Thank you!
*I have use SEND EMAIL action with attachment is "Report for "&[Current Date]&"*" - but it doesnt work
------------------------------
Mia Mikela
------------------------------
20-11-23 07:35 AM
When using the send email action you will have to provide the complete path of the attachment without *
20-11-23 08:30 AM
Hi Shashank,
I have tried without * but it's not working. I want to select all the files I want to send to Outlook email....
20-11-23 08:51 AM
Are you using the outlook VBO?
Separate the file paths with a semi colon. Like
C:\Downloads\File1.xlsx;C:\Downloads\File2.xlsx
20-11-23 07:03 PM
Thanks,
Given my case, the downloaded reports are dynamic, and it's not constant. So if I list all the paths manually like you do, it may not work.
But thanks for recommending it.
------------------------------
Mia Mikela
------------------------------
22-11-23 03:31 AM
Hi @Mia Mikela,
Send Mail Action takes File path as absolute path meaning you to provide full path of a file/files. If it is multiple files - you have to append paths into single string. Below are the steps how you can do it.
As you are creating report on daily basis - I suggest you create a folder with current Date Stamp for that day and place all the report (8-10) over there.
To send all reports in a mail you have to create a single string with all file's paths. Here's how you do it:
Do let me know if you face any issues performing.