The problem I am running into is that the above code will NOT send the e-mails unless outlook is open.
Apparently the script needs to open outlook and then close outlook. This is a scheduled job with no user intervention.

When I run the script, outlook.exe runs in the task manager, but does not do the e-mailing.

Just FYI - I am fairly new to kix scripting and I am having to convert old kix scripts to new ones.