cuneyt2020
Technical User
Hi we have Genesys CTI environment ,using for call center. And there is a reporting program which has action wizards using VB codes.
There are some thresholds for agents in call center, and using VB scripts we want to send mail via lotusnotes about these thresholds
Here is the VB script that works properly in Genesys environment.
[tt]
SendMail
Sub SendMail
Dim sDatabase, sServer,Session ,DataBase ,Document
sServer = "OPCDMN1/YKB"
sDatabase = "mail\cevliyaogl.nsf"
Set Session = CreateObject("Notes.NotesSession")
Set DataBase = Session.GETDATABASE(sServer, sDatabase)
Set Document = DataBase.CREATEDOCUMENT()
Document.Form = "Memo"
Document.SendTo = "cevliyaoglu@ykb.com"
Document.Subject = "Test OLE automation"
Document.Body = "Testing OLE"
Document.From = Session.COMMONUSERNAME
Document.SaveMessageOnSend = True
Document.Send True
end sub
[/tt]
But now, we want to send an attachment and actually i don't know how i can do this.
Would you please help me converting this code to the attachment based one.
NOte:I'm not a vb developer, i'm a pbx/voice engineer , so i need a detailed help getting the code,So i can test it
Thank you so much
Rgrds.
There are some thresholds for agents in call center, and using VB scripts we want to send mail via lotusnotes about these thresholds
Here is the VB script that works properly in Genesys environment.
[tt]
SendMail
Sub SendMail
Dim sDatabase, sServer,Session ,DataBase ,Document
sServer = "OPCDMN1/YKB"
sDatabase = "mail\cevliyaogl.nsf"
Set Session = CreateObject("Notes.NotesSession")
Set DataBase = Session.GETDATABASE(sServer, sDatabase)
Set Document = DataBase.CREATEDOCUMENT()
Document.Form = "Memo"
Document.SendTo = "cevliyaoglu@ykb.com"
Document.Subject = "Test OLE automation"
Document.Body = "Testing OLE"
Document.From = Session.COMMONUSERNAME
Document.SaveMessageOnSend = True
Document.Send True
end sub
[/tt]
But now, we want to send an attachment and actually i don't know how i can do this.
Would you please help me converting this code to the attachment based one.
NOte:I'm not a vb developer, i'm a pbx/voice engineer , so i need a detailed help getting the code,So i can test it
Thank you so much
Rgrds.