P
paul
Can anyone review the following procedure and see what I have done wrong?
I downloaded FormMail.pl ver 1.92 from scriptarchive .com a few days ago
and have read all the help files, but cannot get it working. I am using
FrontPage 2003 and have created a Newsletter Subscription Form (called
newsletter.htm) a test Website (called mydomain.com).
The problem is:
When I run a test on the newsletter subscription form, by inputting my name
and email address in the text fields, and then clicking the "Submit" button,
an email does not arrive at the webmail address (e-mail address removed).
I may not have set the "Properties Box" settings correctly for the "Name",
"Email", and "Submit" button fields. (I can send a virus scanned, Screen
Capture, of the "Submit" button property boxes, and html code, in a word
document if you can help). Else if you could send me screen capture of how to
set the submit button or written description of how to do it for the setup I
am trying to create - it would be greatly appreciated.
If this is not the cause of the problem then it may lay with the way I have
configured FormMail.cgi, the details of which are below.
Procedures I followed:
1. When I received FormMail.pl I changed the file name to FormMail.cgi, as
recommened in the help files.
2. I changed the following variables in the FormMail script as follows:
a) Perl Interpreter 1st line of script /usr/bin/perl Did Not Need
Changing
b) $mailprog = '/usr/bin/sendmail -i -t'; Changed /lib/ To
/bin/
c) @referers = ('mydomain.com','117.0.24.201'); Added My Domain and
Web Server IP Address Where Webmail is Located.
d) @valid_ENV = ('REMOTE_HOST','REMOTE
ADDR','REMOTE_USER','HTTP_USER_AGENT','HTTP_REFERER'); Unchanged
e) @recipients = &fill_recipients(@referers); Unchanged
3. I was'nt sure what to do as far as the FormMail "Form Configuration" was
concerned, but placed the following highlited code
<input type=hidden name="recipient" value="email@[email protected]">
at the bottom of newsletter.htm just above the 2nd body tag below.
</body>
Sign Up Now! It's Free... </b></font></p>
<form onsubmit="return NLValidateForm()" method="POST"
action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Address="(e-mail address removed)"
S-Email-Format="TEXT/PRE" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
B-Email-Label-Fields="TRUE" S-Date-Format="%d/%m/%Y" S-Time-Format="%I:%M:%S
%p" S-Builtin-Fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT Date Time" -->
<p align="center"><font face="Arial"><b>Enter your Details<br>
<font size="2">Name: </font><a href="mailto:[email protected]">
<input name="Newsletter_Request" size="30"></a><br>
<font size="2">Email:</font> <a href="mailto:[email protected]">
<input type="text" name="Newsletter_Request" size="30"></a><br>
<a href="mailto:[email protected]?subject=Newsletter Request">
<input type="submit" name="Newletter_Request" style="font-size: 10pt;
font-family: Arial; color: #000000; font-weight: bold; border: 2px solid
#000000; padding-left: 4px; padding-right: 4px; padding-top: 1px;
padding-bottom: 1px"></a><br>
<input type=hidden name="recipient" value="(e-mail address removed)">
<font size="1"> </font></b><font size="1"><strong><u>Note</u>:
<font color="#B91806">We respect your privacy. We won't give away, sell,
share
<input type=hidden name="recipient" value="email@[email protected]">
</body>
4. After making the above changes I uploaded the ammended FormMail.cgi, and
newsletter.htm files, to the public_html directory at the website.
5. I don't know if this is a clue to the problem, but when I clicked the
submit buttom a new webpage appears with
http://www.mydomain.com/--WEBBOT-SELF-- in the address bar.
I don't know anyone that could help me with this problem and would be most
grateful for any assistance.
Thanking you kindly.
regards,
Paul
I downloaded FormMail.pl ver 1.92 from scriptarchive .com a few days ago
and have read all the help files, but cannot get it working. I am using
FrontPage 2003 and have created a Newsletter Subscription Form (called
newsletter.htm) a test Website (called mydomain.com).
The problem is:
When I run a test on the newsletter subscription form, by inputting my name
and email address in the text fields, and then clicking the "Submit" button,
an email does not arrive at the webmail address (e-mail address removed).
I may not have set the "Properties Box" settings correctly for the "Name",
"Email", and "Submit" button fields. (I can send a virus scanned, Screen
Capture, of the "Submit" button property boxes, and html code, in a word
document if you can help). Else if you could send me screen capture of how to
set the submit button or written description of how to do it for the setup I
am trying to create - it would be greatly appreciated.
If this is not the cause of the problem then it may lay with the way I have
configured FormMail.cgi, the details of which are below.
Procedures I followed:
1. When I received FormMail.pl I changed the file name to FormMail.cgi, as
recommened in the help files.
2. I changed the following variables in the FormMail script as follows:
a) Perl Interpreter 1st line of script /usr/bin/perl Did Not Need
Changing
b) $mailprog = '/usr/bin/sendmail -i -t'; Changed /lib/ To
/bin/
c) @referers = ('mydomain.com','117.0.24.201'); Added My Domain and
Web Server IP Address Where Webmail is Located.
d) @valid_ENV = ('REMOTE_HOST','REMOTE
ADDR','REMOTE_USER','HTTP_USER_AGENT','HTTP_REFERER'); Unchanged
e) @recipients = &fill_recipients(@referers); Unchanged
3. I was'nt sure what to do as far as the FormMail "Form Configuration" was
concerned, but placed the following highlited code
<input type=hidden name="recipient" value="email@[email protected]">
at the bottom of newsletter.htm just above the 2nd body tag below.
</body>
Sign Up Now! It's Free... </b></font></p>
<form onsubmit="return NLValidateForm()" method="POST"
action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Address="(e-mail address removed)"
S-Email-Format="TEXT/PRE" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE"
B-Email-Label-Fields="TRUE" S-Date-Format="%d/%m/%Y" S-Time-Format="%I:%M:%S
%p" S-Builtin-Fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT Date Time" -->
<p align="center"><font face="Arial"><b>Enter your Details<br>
<font size="2">Name: </font><a href="mailto:[email protected]">
<input name="Newsletter_Request" size="30"></a><br>
<font size="2">Email:</font> <a href="mailto:[email protected]">
<input type="text" name="Newsletter_Request" size="30"></a><br>
<a href="mailto:[email protected]?subject=Newsletter Request">
<input type="submit" name="Newletter_Request" style="font-size: 10pt;
font-family: Arial; color: #000000; font-weight: bold; border: 2px solid
#000000; padding-left: 4px; padding-right: 4px; padding-top: 1px;
padding-bottom: 1px"></a><br>
<input type=hidden name="recipient" value="(e-mail address removed)">
<font size="1"> </font></b><font size="1"><strong><u>Note</u>:
<font color="#B91806">We respect your privacy. We won't give away, sell,
share
<input type=hidden name="recipient" value="email@[email protected]">
</body>
4. After making the above changes I uploaded the ammended FormMail.cgi, and
newsletter.htm files, to the public_html directory at the website.
5. I don't know if this is a clue to the problem, but when I clicked the
submit buttom a new webpage appears with
http://www.mydomain.com/--WEBBOT-SELF-- in the address bar.
I don't know anyone that could help me with this problem and would be most
grateful for any assistance.
Thanking you kindly.
regards,
Paul