Interesting - I would go with what we know works:
set myMail = server.createObject("CDONTS.Newmail")
If you try your suggested:
set objMail=createObject("CDONTS.NEWMail")
You will get :
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'CreateObject'
Summary : We could try and spell 'banana' without the 'b', but why?
Wind is your friend
Matt
|