Author Topic: Multiple Sign up CGI Scripts  (Read 4284 times)

  • Guest
Multiple Sign up CGI Scripts
« on: May 03, 2004, 05:25:41 pm »
Is the signup script for each list identical except for the name ( signup-listx)? Or does the $list URL point to the list itself, /mail/listname?

Thanks!

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Multiple Sign up CGI Scripts
« Reply #1 on: May 03, 2004, 05:27:00 pm »
Check out this page from the Online Help:

http://www.listmailpro.com/help/15.html

The $list variable needs to specify which list(s) you want the CGI script to subscribe to.

The name of the .CGI script is simply for your own use.  What really matters is your email alias, which script it points to, and what the script's $list variable is set to.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

  • Guest
Multiple Sign up CGI Scripts
« Reply #2 on: May 03, 2004, 05:58:52 pm »
Sorry for being so slow, but if I set:
$listmail_url = "http://www.mydomain.com/mail" with multiple lists (6), is the alias the list name of each list and is it appended after /mail??

Also, the following instruction:

 Set the $list variable to one or more lists. For example:

$list= '1'
or
$list= '1,3,2'

do I delete one of the  $list variables and configure the remaning variable as $list= '1,2,3,4,5,6'?

Thanks, again!

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Multiple Sign up CGI Scripts
« Reply #3 on: May 03, 2004, 06:31:30 pm »
No, you do not need to modify your ListMail URL beyond as follows:

$listmail_url = "http://www.mydomain.com/mail";

The email "alias" is what you set up on your host to forward email sent to a certain address on your host to the CGI script, ie:

signup@mydomain.com: "|/path/to/your/cgi-bin/signup-listX.cgi"

The process can vary quite a bit across hosts.  If you're not sure how to set it up, I recommend asking your tech support staff.

Documentation:
http://www.listmailpro.com/help/7.html

Hope that helps!
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting