View previous topic :: View next topic |
Author |
Message |
brheault
Joined: 13 Nov 2007 Posts: 3
|
Posted: Tue Nov 13, 2007 4:01 pm Post subject: xml output |
|
|
I am trying to determine if PageGate has the following capabilities.
Our current building Automation System (BAS) is configured to spit out alerts and notifications by email. We would like PageGate to take these emails, manipulate the contents, dump the contents into an XML formatted file in a predesgnated folder, and then start an external program (batch file).
Can I do this with PageGate?
Thanks in advance
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4379
|
Posted: Tue Nov 13, 2007 4:20 pm Post subject: |
|
|
Unfortunately, no, PageGate was never designed to do quite that. It can handle the incoming email no problem but spitting it back out as XML and running an external application are a little beyond the scope of the program. |
|
Back to top |
|
brheault
Joined: 13 Nov 2007 Posts: 3
|
Posted: Wed Nov 14, 2007 9:41 am Post subject: |
|
|
How about taking the email and dumping it into an excel or DB format?
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4379
|
Posted: Wed Nov 14, 2007 10:32 am Post subject: |
|
|
Well... technically, I suppose you could do that. I mean, you have to understand, PageGate is an application originally designed to send SMS and Email message alerts, so we never really coded it with the ability to output documents and files.
PageGate uses a MS Access database to store all of its data and messages and such. Any time the getMail module pulls in an email, if you didn't have any outbound method of communication set up, it would keep those messages tored in the messages table. |
|
Back to top |
|
brheault
Joined: 13 Nov 2007 Posts: 3
|
Posted: Wed Nov 14, 2007 11:32 am Post subject: |
|
|
Is how PageGate records the information in Access configureable and documented? Are the queries documented?
Thanks.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4379
|
Posted: Wed Nov 14, 2007 11:49 am Post subject: |
|
|
It isn't configurable but it is documented.
user: Enter the recipient name of the person to be contacted.
pin: ""
message: Enter the message to be sent to the recipient.
carrier: ""
date_time_req: Enter the current date/time in this format 5/22/2007 1:47:52 PM
date_time_sent: ""
frm: Enter the Sender's Name here
sent: False
error: False
ascii_file: ""
mail_file: ""
lock: False
scheduled: False
reliapage_index: False
repeat_interval: 0
repeat_stop: Set this to the same value as date_time_req.
station: Set this field to 0.
message_id: ""
retries: 0
last_try: Set this field to 30 seconds prior to the date_time_req field.
transaction: ""
dialer: ""
creator_name: This field is used to determine who sent the
message and is used for tracking purposes. If you don't want to
use this field, set it to: ""
creator_machine: This field is used to determine who sent the
message and is used for tracking purposes. If you don't want to
use this field, set it to: ""
original_recipient: Enter whatever was entered into the user field above.
server: When a message is delivered, this field is filled in with the
name of the PageGate Server that delivered the message. Set
this field to: ""
archived: Set this field to False. |
|
Back to top |
|
|