Hi Forum,
I am trying to send an sms with MS Exchange server 2000 with our SMS Gateway using VB scripting
here is my Script
'FILE DESCRIPTION: Exchange Server Event Script
Option Explicit
' Global Variables
Set objSendMail = New vbSendMail.clsSendMail
' Event Handlers
' DESCRIPTION: This event is fired when a new message is added to the folder
Public Sub Folder_OnMessageCreated
' email versenden
With objSendMail
.SMTPHost = "jeff.group.local"
.From = "jeff@jeff.com"
.Recipient = "01712345678@sms.local"
.AsHTML = True
.Subject = "New Mail arrived"
.Message = sHTML
.Send
End Sub
Can anyone tell me what I am doing wrong
thanks
Jeff
I am trying to send an sms with MS Exchange server 2000 with our SMS Gateway using VB scripting
here is my Script
'FILE DESCRIPTION: Exchange Server Event Script
Option Explicit
' Global Variables
Set objSendMail = New vbSendMail.clsSendMail
' Event Handlers
' DESCRIPTION: This event is fired when a new message is added to the folder
Public Sub Folder_OnMessageCreated
' email versenden
With objSendMail
.SMTPHost = "jeff.group.local"
.From = "jeff@jeff.com"
.Recipient = "01712345678@sms.local"
.AsHTML = True
.Subject = "New Mail arrived"
.Message = sHTML
.Send
End Sub
Can anyone tell me what I am doing wrong
thanks
Jeff