Set notessession = CreateObject("Notes.Notessession")Set notesdb = notessession.getdatabase("", "")
My code to send email....
set notesdb = nothingSet notessession = Nothing
I tried notesdb.exit/close/quit and nothing worked.