Send Message with Notification

CAS Samples

This sample demonstrates sending a fax message followed by a fax-notification message being sent to a specified e-mail recipient.  A fax-notification message contains fax delivery details, including the delivery status, remote CSID and transfer time.

The fax message is submitted with the REGISTERED_NAME tag set to the name of a fax server e-mail gateway, for example, "SMTPPost".  Submitting the message in this manner assigns ownership of the message to the specified gateway.  After the fax has been delivered, the message moves into the gateway's sent queue, where the gateway processes it like a message that it had sent itself, by sending a fax-notification message to the originating user.

To cause a fax-notification message to be sent to a recipient of your choosing, you provide an e-mail address in the original message that the gateway will use as the e-mail address of the originating user. The e-mail address must be included in the CUSTOM_SECTION of the original fax message, with the friendly name in the SENDER_NAME tag and the e-mail address in the EMAIL_SENDER_ADDRESS tag. The format of the e-mail address is specific to the gateway:

Gateway Type E-mail Address Format
SMTPPost SMTP user@domain
The notification is sent directly to this address.*
MSPost Exchange 5.x
organization!site!user
The address is searched against the NS address of all Exchange Server users, with the notification being sent to the matching user.*
Exchange Exchange 2000
Exchange 2003
user@domain
The address is searched against the SMTP address of all Exchange 2000/2003 users, with the notification being sent to the matching user.*

* Ensure that the address is valid; gateways delete non-deliverable notification messages.

CAS Interface: 
View Debug
LOGON
LOGON_NAME:
DOMAIN_NAME:
REMOTE_LOGON_NAME:
PROTOCOL:

CAS HTTP Proxy:

HTTP_SERVER_URL:

REGISTERED_NAME
REGISTERED_PASSWORD
SENDER_NAME
EMAIL_SENDER_ADDRESS: 
RECEIVER_ADDRESS:
CURRENT_FILESPEC:
(optional attachment)