Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: S2H on May 22, 2015, 07:20:07 AM
-
Hi,
How to send email notification through ccpulse. I referred the previous codes in the site. But i was not successful. Please help me regarding this issue. Thanks in advance
-
We do the same as you, check those codes and install libraries to make them work. No magic. If doesn't work what is already on the forum point out what exactly doesn't work.
-
Below are the steps to CCPulse Email Notification.
1. Download and copy the files into C:\WINDOWS\SYSTEM32 machine where the CCPulse client is installed.
https://www.dropbox.com/s/108dbe70ravn80j/vbsendmail.zip?dl=0
https://www.dropbox.com/s/348dv1xpao2nwfh/MSWINSCK.OCX?dl=0
2. Register the pasted DLL’s via below command from CMD > C:\WINDOWS\SYSTEM32
regsvr32vbSendMail.dll
regsvr32 MSWINSCK.OCX
Note: If you are using 64bit OS, then paste the DLL’s into C:\WINDOWS\SysWOW64
Now, create CCPulse threshold:
if Threshold.StatValue < XX then
Threshold.Result = true
end if
XX can be any integer number. For example 50.
Now, create CCPulse Action for Sending Email.
Set poSendMail = CreateObject("vbSendMail.clsSendMail")
poSendMail.SMTPHost = "[color=yellow]your.smtp.mail.server[/color]"
poSendMail.From = "[color=yellow]validaccount@yourmailserver[/color]"
poSendMail.FromDisplayName = "[color=yellow]Persons Name for Account[/color]"
poSendMail.Recipient = "[color=yellow]email address of person you wish to send to[/color]"
poSendMail.RecipientDisplayName = "[color=yellow]Name of person receiving the email[/color]"
poSendMail.ReplyToAddress = ""
poSendMail.Subject = "[color=yellow]What ever you choose to put here.[/color]"
poSendMail.Attachment = ""
poSendMail.Message = "[color=yellow]What ever you choose to put here.[/color]"
poSendMail.Send
Set poSendMail = Nothing
Note: Change the highlighted fields as per you STMP details.
Regards,
Raza
-
Thanks for your valuable information.