Hi,I would like to have this code working. It is part of an agent which is called from WebQuerySave. It also does some other stuff like, return a reference number and populated the auditing. This is all on the web. Only, this part of the code isnt working… help ![]()
Dim mdoc As NotesDocument
Dim db As notesdatabase
Dim cdoc As notesdocument
Set cdoc=session.documentcontext
Set mdoc = New NotesDocument( db )
mdoc.Form = "Memo"
mdoc.SendTo= "anastasia.vassili@xyz.com"
mdoc.subject = "Web Call logged"
mdoc.body = "Please note, call number " + refnum + " has been logged via the Internet. "
Call mdoc.Send( True)