Blackberry Delivery Confirmation
This SAM application monitor template tests the ability of a Blackberry handheld device to receive messages using the built-in delivery confirmation function. The script in this template sends a specially formed test email to the blackberry device, and then the script checks an email account for the confirmation reply from the Blackberry device.
The script in this template requires you to customize variables before it can be run.
Access to an SMTP Server, MAPI access to a Microsoft Exchange server, MAPI Client and CDO Objects installed on the SAM server.
Windows credential valid on both the SAM server and the Microsoft Exchange server.
Customizing Script Variables
You must substitute your own values for many of the following variables in the script body:
const SenderMailbox = "SAM.test"
Replace SAM.test with the Exchange mailbox for sending and receiving the delivery confirmation messages.
const SenderEmailAddress = email@example.com
Replace firstname.lastname@example.org with the email address for sending and receiving the test and the confirmation messages.
const BlackberryAddress = email@example.com
Replace firstname.lastname@example.org with the email address of the user with the Blackberry handheld device.
const ExchangeServer = "exchange.example.com"
Replace exchange.example.com with the Microsoft Exchange server hosting the Exchange mailbox.
const SenderSmtpServer = "smtp.example.com"
Replace smtp.example.com with the SMTP Server for sending the test email.
const SenderSmtpPort = 25
The script uses port 25 on the SMTP server for sending the test email. If the SMTP server uses a different port, change to match your port configuration.
const MaxInboxScans = 300
The script will scan for the confirmation message on the Exchange mailbox 300 times. Modify this value as you need, higher or lower.
const MaxMessagesPerScan = 100
The script will scan the most recent 100 messages in the Exchange mailbox for the confirmation message. Modify this value as you need, higher or lower.
const MillisecondsBetweenScans = 1000
The script will wait 1000 milliseconds between Exchange mailbox scans. Modify this value as you need, higher or lower.
BlackBerry Delivery Confirmation
This monitor returns confirmation of delivered messages to the Blackberry handheld device.