" /> Email notification in ccpulse - Genesys CTI User Forum

Author Topic: Email notification in ccpulse  (Read 3049 times)

Offline S2H

  • Jr. Member
  • **
  • Posts: 56
  • Karma: -5
Email notification in ccpulse
« on: May 22, 2015, 07:20:07 AM »
Advertisement
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

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Email notification in ccpulse
« Reply #1 on: May 22, 2015, 12:29:38 PM »
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.

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: Email notification in ccpulse
« Reply #2 on: May 22, 2015, 12:42:56 PM »
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

Offline S2H

  • Jr. Member
  • **
  • Posts: 56
  • Karma: -5
Re: Email notification in ccpulse
« Reply #3 on: May 23, 2015, 04:43:01 AM »
Thanks for your valuable information.