Hi,
I want following automate:
There is given an Excel file with multiple columns.
From this file I just need 5 columns:
email receiver, email CC, email subject, attachment path, timestamp
I want to know, how many times each constellation of the 3 columns (email receiver, email CC, email subject) appears in the data table (same entries in these columns per line).
For each constellation one email with the attachments should be sent.
If a constellation exist more than one time, e.g. 10 times, ideally one email (depending on the attachment file size) should be sent with the 10 attachments (in order to avoid sending 10 emails to the same receiver).
Before sending this email, the number and the file size of the attachments should be checked.
If the number is greater than 5, one or more zip file should be created depending on the file size of all attachments to send.
If the file size of all e.g. 10 attachments exceed 15 MB, a zip file should be created with attachments until the size of 15 MB is reached and the first email with this zip file attachment should be sent.
After sending the email, a timestamp of the sent mail should be entered in every line, from which is taken the attachment path for this zip file, in data table in order to document the sending.
After that a second zip file with the retaining attachments of this constellation should be created and sent in a second email, again Not exceeding the 15 MB file size.
If all attachments for this constellation are sent, the next constellation should be processed in the same way.
Could you please help me how I can automate this scenario in an efficient way?
Many thanks in advance!!!