PostCast
 

 

  Search
   

  Help

Play demo

Screen shots

Compare editions

FAQ

Online help

Testimonials

License agreement

Known issues

  Support

Technical support

Forums

Feedback

 About the author

 Company

Contact

Privacy policy

  Features

E-mail merge

Database tools

Message tags

Scheduler

Processing web forms

E-mail client

  Subscribe

Stay informed about any major changes. Click here to subscribe

Execute CGI message tags

PostCast can start CGI script and import its result into your e-mail message. It would suffice to define the script number in your e-mail message, and PostCast would perform it during message creation. The result can be saved in a file.

The CGI message tag can be defined in your text message, as well as the HTML message.

Using this option, you may download a web page and include it in your message. All you have to do is enter the page URL instead of the CGI script.

How to use this option?

This PostCast option brings you new, countless possibilities, as well as an incredible interaction between the www and e-mail messages. Here are some examples:

· Suppose that you have two databases in which you keep information about your customers: one at the local computer, the other at a remote server. Now you will be in position to process data about each order using PostCast, and besides local, update and upgrade data into the server database as well.

· Suppose that you have a very cool script on your web page. Make a new offer to your guests: to send them reports directly to their e-mail addresses in a certain time interval (weekly, monthly).

· Using the CGI tags you may send reports and web pages to yourself. Why is this convenient? Because you are now in position to deliver your web page counter readings to yourself. Set up the PostCast Scheduler to receive your favorite page with the daily news directly to your Inbox. If you want to keep a track of your website access statistics, enter the URL you are using to access the data and PostCast would deliver the reports to your e-mail address.

Each e-mail message can be used to define an Execute CGI tag separately. Two CGI scripts can be performed if you define one in the text message and if you define the same or different script in the HTML message.

PostCast can include data from your database in the CGI query string

If you want to forward your database data to the CGI script, it can be done easily. For example, if you want to forward the First Name and E-mail column data, enter something like this:

action=subscribe&name=[First Name]&email=[E-mail]

The same method is used to define data in the autoresponder using the 'Reply with message' mail rule.

How to define a tag

Select the 'Tools/Message Tags/Execute CGI' from the menu. The window, which appears, can be used to add your CGI scripts if you click the ADD button. You can define as many scripts as you want, whereas each added script would have a consecutive number.

In order to define a tag in your text message apply one of these two methods:

1. Click the Insert button from the toolbar within the window used to prepare the message. Select the 'Execute CGI Message Tag' option from the dropdown list, and once you select the script consecutive number from the emerging window, you would have a defined tag in the message. You can access this option even if you right-mouse click the e-mail message body. Select the Insert option and choose the type of tag you want to insert.

2. Enter the command that would order PostCast to perform the CGI script in the text of your message. For instance, if you want to do the CGI under the consecutive number 2, enter the following text in your e-mail message:

##Execute CGI 2##

Tag in the HTML message

In order to define a tag in the HTML message it would be necessary to enter a command. In case you want to start the CGI script under the consecutive number 1, its syntax would be:

##Execute CGI 1##.

Location of the CGI script

Use this field to enter the CGI script URL. For example, http://www.yoursite.com/cgi-bin/yourscript.cgi

CGI query string

Enter the query string that you would forward to the CGI script for further processing. For instance, if you want to perform:

http://www.yoursite.com/cgi-bin/yourscript.cgi?key=software&action=search

Enter the query string in the field:

key=software&action=search

Include result in the e-mail message

Activate this option to start the CGI script result or a web page in your e-mail message.

Save result in the file

Enter the file path in which you want to save the result.

HTTP Referrer

Certain CGI scripts demand only specific web pages to get started. Enter its URL and PostCast would simulate starting from the web page.

Method

Scripts are performed using the POST or GET methods. Check out which one is used by your CGI script. HEAD would not start the script or download the web page, but rather deliver the HTTP Header that would signalize whether the URL is valid.

Execute Program message tags

[Home] [Download] [FAQ] [Support] [Purchase]

Copyright © 1997-2005 Gate Comm Software. All Rights Reserved.

 

News
6/8/2007
Version 1.9.964 released
5/25/2007
Windows Vista Support
5/25/2007
Version 1.9.963 released
9/18/2003
Version 1.9.946 released
3/22/2003
Version 1.9.931 released

Forums
7/14/2008
Vista installation error......another one
4/24/2008
Application Error
3/5/2008
Run rules on Inbox
2/28/2008
Email folders are gone/missing
2/26/2008
Email Rules
2/22/2008
Blocked domains
2/21/2008
Postcast Reports
2/5/2008
Plugins & Scripts.