Flippertje
Technical User
It's driving me crazy! Please help me out? I'm not that well known in this script...
I'm trying to send an email by lotus notes. My code constantly crashes with a type mismatch at the line 'set session= etc etc
dim db as notesdatabase
dim session as new notessession
dim doc as notesdocument
dim server as string, mailfile as string
set session=createobject ("notes.notessession")
server=session.getenviromentstring("MailServer", true)
mailfile=session.getenviromentstring("MailFile", true)
set db=session.getdatabase(server, mailfile)
set doc= db.createdocument()
the rest of the code works fine... (it creates the email)
Please help me out.
Scoobs
I'm trying to send an email by lotus notes. My code constantly crashes with a type mismatch at the line 'set session= etc etc
dim db as notesdatabase
dim session as new notessession
dim doc as notesdocument
dim server as string, mailfile as string
set session=createobject ("notes.notessession")
server=session.getenviromentstring("MailServer", true)
mailfile=session.getenviromentstring("MailFile", true)
set db=session.getdatabase(server, mailfile)
set doc= db.createdocument()
the rest of the code works fine... (it creates the email)
Please help me out.
Scoobs