Success and Failure Notification Templates

Top  Previous  Next

This type of Template is completely unlike the other Templates. These templates trigger a specific behavior within the program and are not contained within the Administrative GUI.

 

This feature will allow you to configure PageGate to send notifications when a message succeeds or when a message fails.

 

When a message is successfully delivered, PageGate looks for a file named successnotifylist.txt in the PageGate program folder.  This file can contain a list of email addresses that will receive notification that the message was successful.  You can use the special value %Sender% on one of the lines to have the sender of the message in the list.

 

In addition you will need to create a file named success.mtp and place it in the PageGate program directory. This file is used as a template for what is sent in the success notification message.  It uses the same variables as the Macros.

 

The same process happens for a failed message, but it uses a failurenotifylist.txt and a failure.mtp file instead.

 

Create a successnotifylist.txt file in the PageGate folder with a single line containing %Sender%

 

Do the same for a failurenotifylist.txt file.

 

The success.mtp file should look like this:

 

Subject: Successful Message To %Recipient%

 

Message Info:

Recv: %RequestedDate% %RequestedTime%

Sent: %Date% %Time%

To:   %Recipient%

From: %Sender%

Msg:  %Message%

 

 

The failure.mtp file should look like this:

 

Subject: Failed Message To %Recipient%

 

Message Info:

Recv: %RequestedDate% %RequestedTime%

Fail: %Date% %Time%

To:   %Recipient%

From: %Sender%

Msg:  %Message%