Multitech MTCBA-G-UF1 Specifications Page 35

  • Download
  • Add to my manuals
  • Print
  • Page
    / 40
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 34
Chapter 10. Case Studies
configuration database
Delete ChannelID (Number) Remove a SMPP Modem Channel from the
configuration database
Example:
' Load an SMPP Channel, change some properties and save it
Set objChannel = CreateObject( "AxSmsServer.SmppChannel" )
objChannel.Load( 1001 )
WScript.Echo "Load, result: " & objChannel.LastError
If( objChannel.LastError = 0 ) Then
objChannel.System = "smpp.activexperts-labs.com"
objChannel.SystemPort = 2775
objChannel.SystemID = "testuser"
objChannel.SystemPassword = "123abc"
objChannel.Save
WScript.Echo "Save, result: " & objChannel.LastError
End If
9.9. ‘Pop3Channel’ object
Properties:
Property Type R/W Description
ID Number R Database record key
Description String RW POP3 server’s friendly name
Enabled Boolean RW Specifies if device is enabled or not. By
disabling a channel, SMS Messaging Server
will not be able to receive e-mail messages
on this channel
Host String RW Host name or IP address of the POP3 server
Accounts String RW List of POP3 accounts that should be checked
for new e-mail messages
CheckInterval Number RW Specifies how often the SMS Messaging Server
should check at the POP3 server for new
incoming messages. Default: 60 seconds
LeaveMessageOnServer Boolean RW Specifies whether or not to leave a copy of
the message on the server after receive
MaxMessageSizeKB Number RW Specify the maximum size (in KB) that a
single POP3 message may occupy in the
Message Database. The remainder of the
message is truncated.
LastError Number R Completion code of the last called function
Functions:
Function Parameter(s) Description
Clear None Clear all properties
Create None Create a new POP3 channel
Load ChannelID (Number) Load POP3 Channel from the configuration
database into the object
Save None Save POP3 Channel properties into the
configuration database
Page view 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40

Comments to this Manuals

No comments