-
Hello,
To get the context explained:
I have this 'main' macro that runs 24/7 in Outlook.
It has 2 main functions :
- screen my inbox every 15 minutes for known senders, opening the mail and save the attachment to disk and increase a dedicated counter;
- at 6:00AM, 13:00PM and 17:00PM it sends a report (statistics) by mail to management, and resets the counters.
To test it, I added some debug.print commands in the code to track/monitor the execution.
All works fine, except the .send ....
I do see the result of the debug.print "LOOPED" 15 minutes after the .send, but no mail is going out (that is, management isn't receiving the report), unless I click the reset icon to stop te macro.
Then the mail arrives at destination, but the timestamp = time that I stopped the macro, not the time it was generated (15 minutes earlier)
I hope this makes sense ...
Regards,
Martin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules