Not sure if this is the right section for a CDONTS question but...

I had a webmail CDONTS script working... quite well too I think

I had an error saying had a type mismatch. I went through the database (it's a web form mailing list for a client) and found what I thought to be bad email addresses. Tried it again and it works fine.

My question, is there anyway to validate the email address? I am assuming that CDONTS wants the text string to be in a certain format. How can I test the data for a valid format, and then throw out that email address if it is not in the expected format?

Thanks in advance