Maybe you're not stupid - maybe you just didn't review the code ;\)

There's an array of userIDs, knowing the mail domain might let you send mail to those users by combining the two? Maybe further review and potential suggestions are needed?

I just grabbed the variable assignments from the top of the code and changed then to ReadProfileString calls as an example, since I thought the original method to read the INI file was too complicated. One step at a time - this is turning into a great "how to create, tweak, and polish a script" process.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D