NotePage, Inc. Forum Index

ASP.NET Paging

 
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> Integration Related Questions
View previous topic :: View next topic  
Author Message
BrianGorbett



Joined: 04 Dec 2003
Posts: 1

PostPosted: Thu Dec 04, 2003 4:01 pm    Post subject: ASP.NET Paging Reply with quote

Our organization just purchased the full PageGate Pro suite (including the WebGate) and I would like to know (before spending too much time with it) the easiest way for us to interface a custom ASP.NET paging application to it. We have one now that simply sends email to our paging provider (ex: 2165911234@arch.net) using SMTP, but I am wondering if there is a better/cleaner way of interfacing with this new PageGate product.

Thank you in advance for any help.

Brian Gorbett


Back to top
View user's profile
Tech Support



Joined: 25 Aug 2003
Posts: 4370

PostPosted: Thu Dec 04, 2003 4:18 pm    Post subject: ASP.NET Paging Reply with quote

You have serveral options:

1. You could have you .ASP code email the messges to the PageGate server

2. You could use a POST or GET method within you .ASP code to call the webgate.exe CGI program

3. You could create a text file in a folder that PageGate is setup to 'watch'



_________________
Tech Support
support@notepage.com
http://www.notepage.net
Back to top
View user's profile
cfriar



Joined: 27 Aug 2009
Posts: 4

PostPosted: Fri Aug 28, 2009 10:16 am    Post subject: Reply with quote

I'm new user picking up on this old thread.

I'd like to pursue option #3 "create a text file in a folder that PageGate is setup to 'watch'".

I have created a tmp#.new message and incremented the counter in the unique.ndx file, but the text file is not being picked up or converted to a .msg file. I'm doing this in the wwwroot directory where the other .msgs are being created by webgate.exe

Please advise how to accomplish #3 below. maybe you have a document.

Thanks for your time


Back to top
View user's profile
Tech Support



Joined: 25 Aug 2003
Posts: 4370

PostPosted: Fri Aug 28, 2009 12:06 pm    Post subject: Reply with quote

Are you passing the CGI variables to our webgate.exe or are you manually creating the .new file?



_________________
Tech Support
support@notepage.com
http://www.notepage.net
Back to top
View user's profile
cfriar



Joined: 27 Aug 2009
Posts: 4

PostPosted: Fri Aug 28, 2009 4:08 pm    Post subject: Reply with quote

manually created the .new file by copying a .msg and renaming it with the next number.


Back to top
View user's profile
Tech Support



Joined: 25 Aug 2003
Posts: 4370

PostPosted: Mon Aug 31, 2009 9:31 am    Post subject: Reply with quote

Hmm... well, that might work if you're following the exact same nomenclature and structure that our webgate.exe output. If you're already manually creating files in a location, though, you may want to go with our GetAscii module. It can monitor a directory or series of directories for text file outputs and then read the content in.



_________________
Tech Support
support@notepage.com
http://www.notepage.net
Back to top
View user's profile
cfriar



Joined: 27 Aug 2009
Posts: 4

PostPosted: Wed Sep 02, 2009 10:28 am    Post subject: Reply with quote

This format is working for individual recipients.
http://server/scripts/WebGate.exe?USER=XXXXXXX&FRM=YYYYYY&MSG=ZZZZZZZZZ

How can we send to a group using the webgate.exe?

Thanks


Back to top
View user's profile
Tech Support



Joined: 25 Aug 2003
Posts: 4370

PostPosted: Wed Sep 02, 2009 10:43 am    Post subject: Reply with quote

You can use the same format, just use the group's name instead of the individual recipient's name.



_________________
Tech Support
support@notepage.com
http://www.notepage.net
Back to top
View user's profile
cfriar



Joined: 27 Aug 2009
Posts: 4

PostPosted: Wed Sep 02, 2009 1:26 pm    Post subject: Reply with quote

We're getting -
9/2/2009 1:55:13 PM PGGWeb No valid recipients in message.
in the PageGate.log file.

when XXXXX is a valid group name.
http://server/scripts/WebGate.exe?USER=XXXXXXX&FRM=YYYYYY&MSG=ZZZZZZZZZ

thoughts.


Back to top
View user's profile
Tech Support



Joined: 25 Aug 2003
Posts: 4370

PostPosted: Wed Sep 02, 2009 3:20 pm    Post subject: Reply with quote

In the same directory that you're hosting the webgate.exe file, there is a webgate.usr file that is auto-updated each time you make a modification to the web paging template/group listing from within the admin. If you're making modifications not in the admin, it may not have updated that list.

Open the .usr file in Notepad, see if your group's name is in there. If it isn't, add it in and see if it works.



_________________
Tech Support
support@notepage.com
http://www.notepage.net
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> Integration Related Questions 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