From a Task Scheduled to run in the middle of the night.......................
I have a section of code that sends out an email, all of which works perfectly, except for some reason the Thunderbird email client remains open after the Send completes. As you can see, the post editing option in the DoCmd.SendObject statement is set to "False", so there's no user interaction with the email before it is sent.
Code:
DoCmd.SendObject acSendNoObject, , , strToList, , , strEMSubj, strEMBody, False
It will be much appreciated if some kind soul would share a few lines of code that tests if Thunderbird is open and if so to close it?
Thanks,
Bill