Emailing back a file

Hi All,

I have a script that does the following

  • Access a mailbox
  • For Each mail - store the attachment to a local folder
  • For Each file in local folder-Process the file
  • Send the attachment back to sender for mail

I want to consolidate the emails so that the attachments are grouped together and sent in the same groups.

When I move the send outlook function from the for each file process loop , it sends the first file to all 3 recipients.

1 Like

Didn’t get your requirement completely but what i understand is rather than sending each file to multiple recipient you wanna send multiple attachment to multiple recipient at single shot.
How about zip the attachment and send the mail to multiple recipient.