
CashMail Documentation
*Description
*Installation
*Running
*CashMail allows you to run a pay per email Opt-in list like the big boys for a fraction of the costs! What this script does is allow webmasters to signup as affiliates of your program and place the code for your program on their pages, which allows surfers to enter their email addresses to join your mailing list. Each time a surfer enters their email, the refering webmaster gets paid a set amount. Example: 5 cents per email addy.
signup.cgi is the webmaster signup script, there is an example
form in example.join.html.
add.cgi is where webmasters send thier emails to... theres a basic form in the
template that is mailed to webmasters(templates/mail/webmaster.tmpl). to redirect
incoming surfers back to the webmasters page you can do somthing like this:
in the cgi, make the $thankyoupage, $thankyoupage="thanks.shtml?$ENV{HTTP_REFERER}";
then create thanks.shtml, and use SSI and the query string to send them back.. eg:
<html>
<body>
Thanks for joining. you have been sent a confirmation email... follow
the directions in the email to signup...<br>
<a href="<!--#echo var="QUERY_STRING"-->">Click here to return to the page you were at.</a>
</body>
</html>
remove.cgi, this is how people remove themselves from your list... sample form:
<form action=remove.cgi method=get>
<input type=text name=email>
<input type=submit value="Remove">
</form>
stats.cgi, webmaster stats cgi... called with no args or invalid username/pass
brings up login screen.
last but not least admin.cgi, view stats, payouts, mail users and view payout
reports... for the mail, From name: is sent as your name, From address is the
reply email address, the rest should make sense. give it a test run if u dont
understand, should make sense once u try it. to view a page with all the totals
and addresses for a given month, choose the month/year and click the button on
the bottom of the page. output is changable in the templates/admin/payout_report.tmpl
file.
|
|
||||||||
|
||||||||
|
||||||||