Thanks Shawn.

That did the trick. Now the COMPLETE script with UDFs included are in the post.

Copy all and run it. Let me know if there are still any issues.

Kent,
Too many different methods to send email, etc... I'll leave that option up to the user to include or modify.