I had a problem with the delivery of e-mails. The script presented below creates an Excel document with all the e-mails sent from a specific e-mail address with the event. The script takes four arguments:
- AddressList
- StartDate
- EndDate
- Output
AddressList
The address list is a mandatory parameter containing the full path to the text file containing the e-mail addresses. The file is formatted as follows:
Email
[email protected]
[email protected]
StartDate
The start date is the date from when the list is generated. The start date is not mandatory. If no parameter is given the standard start date is seven days from the day the script is executed.