Notes mail from VBS

I am trying to send notes mail 6.0 from within VBS application. I am getting error when i set the session object. Below is the excerpt

Dim Session 'The notes session

Dim EmbedObj 'The embedded object (Attachment)

'Start a session to notes

Set Session = CreateObject(“Notes.NotesSession”)

What is best with the version that I use, Lotus notes 6.0, OLE, or COM referencing? Can any one suggest a working code with VBS and Lotus 6.0.

Thank you

Subject: notes mail from VBS

search this and the other (version 4&5) site, there are solutions available.

Subject: RE: notes mail from VBS

I searched and have tried exactly what is suggested, even tried to use the code. I also was able to register the dll successfuly. Session and GetDatabase were executed with no problem, but the OPENMAIL command failed with error message. Can’t seem to figure out the problem. Do you think applying the patches will fix the problem as the lotus version that I am working on is 6.0.

Thank you.