NotePage, Inc. Forum Index

email outcome for version 5

 
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> PageGate Support
View previous topic :: View next topic  
Author Message
RD@KHOU



Joined: 21 Apr 2008
Posts: 1

PostPosted: Mon Apr 21, 2008 3:55 pm    Post subject: email outcome for version 5 Reply with quote

From the release notes for version 5

"- interfaces -> getmail -> settings email outcome removed because it is now handled by the notification sending system"

This is a feature that I would like to take advantage of, but I have not been able to find its location, nor is it listed in the documentation.


Back to top
View user's profile
Tech Support



Joined: 25 Aug 2003
Posts: 4405

PostPosted: Mon Aug 11, 2008 2:55 pm    Post subject: Reply with quote

In PageGate version 5, as you've noted, there isn't an 'Email Outcome' setting anymore. What happens now is that whenever a message is sent out (either successful or failed) a 'SendNotifications' routine is run. It first looks for a file named 'failurenotifylist.txt' in the PageGate program folder. That file can contain a list of email address that should receive notification of the failure (one email address per line). There is also a special variable that can be used in the list called '%Sender%'. This will send the failure notification also back to the sender of the message, if the sender is a real email address (PG will tack on the @domain part if necessary).

The exact same thing can be setup for successful messages by creating a 'successnotifyllist.txt' file.

The second half of the setup is to create a template file to define what info should be sent in the failure/success notification. The files are named failure.mtp and success.mtp respectively. You can basically use the same variables as you can in regular .mtp files:

%Message%
%ErrorMessage%
%Sender%
%Recipient%
%FullName%
%Comment1%
%Comment2%
%Comment3%
%Comment4%
%Date%
%Time%
%RequestedDate%
%RequestedTime%
%MilitaryTime%
%RequestedMilitaryTime%
%TimeZone%
%ShortTimeZone%

This new setup is a lot more flexible than the old way, but the delivery of the failure/success messages is handled by the GetMail module, so that needs to be owned for this setup to work.


Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> PageGate Support All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Theme created by Vjacheslav Trushkin