Ok, sorry to keep you all in suspense, but as usual I screwed it up.
I think I overwrote the .vb file with a version that didnt have the mail code in it.
So apparently the .vb file that had the original code that was compiled to the web server and has never been over written with my new code. So it appeared in the file there was no function for mail, but the web site compiled version did have the code.
Hope that makes sense. Chalk this one up to a noob who doesnt know what he is doing.
Jason