Hello
,
About the CDOSYS as Ray Costanzo [MVP] said, he is correct, but in
addition when you declare and set the variable, i noticed that you
wrote Set MyCDONTSMail = CreateObject("CDONTS.NewMail")
Its better to write Set MyCDONTSMail =
Server.CreateObject("CDONTS.NewMail")
I know that you might say that "what did u add the server, i doesn't
make any difference" but trust me, when u program using Microsoft
programs, everything is possible. For example once i was using
MapPath("Location.mdb") and always getting an error, but couldn't find
it, then i had an idea, which was to add server to the command, so it
looked like this Server.MapPath("Locatuo.mdb"), after that the page
worked propoply with no extra problem, and by the way when u click
Ctrl+Space in Microsoft Visual InterDev you will find that MapPath
works without the Server as well as the CreateObject.
Hope this helps
Best Regards
Firas S Assaad