Hi Marcus,
Well, I found a script(s) that I can use! But like normal I’m having a few problems. The good thing is you helped me sooo well with the last email Form that I used a lot of that knowledge when making slight adjustments to this new script!
http://maillist.pl and mail-admin.pl
2) Open cfg.pl with a text editor than modify the variables.
I used notepad and made my modifications to cfg.pl.
The only error I could have made in this file was with on the sendmail line. I changed the location of sendmail to /usr/lib/sendmail, which is correct. The original script had sendmail in a different location and they also had a -t"; after the sendmail line. Could the problem be that I kept the -t"; ?
3) Upload the scripts to your cgi-bin then chmod them to "755."
I uploaded maillist.pl and mail-admin.pl and cfg.pl to the .cgi-bin at netfirms. I gave each file chmod of 755. I have read, write, execute permission to the OWNER. I gave read and execute permissions to GROUP AND OTHER.
4) Modify the header and footer files with a text editor.
header.txt and footer.txt will go in the email message.
dheader.txt and dfooter.txt will be used when a visitor's email address has been added or removed.
I don’t think I can make errors on these files, they were very very very basic. But here they are… header.txt, footer.txt, dheader.txt, dfooter.txt
5) Upload header.txt, footer.txt, dheader.txt, and dfooter.txt to the same directory where you uploaded the scripts.
Then chmod them to "777."
I uploaded the scripts above to the my .cgi-bin. I gave them all chmod 777, which gives the owner, group and other read, write and execute permissions.
6) Upload pass.dat, list.txt, and errorlog.txt, to the same directory where you uploaded the scripts.
Then chmod them to "777."
I uploaded the .txt files and .dat file above with the same permissions as I wrote for #5 (above). The list.txt file is empty right now. That’s where the email addresses will be stored when people send me their email address.
I don’t really know what I can do with the errorlog.txt file. I uploaded it, but how can I view it so it can help me?
7) Execute the admin script (mail-admin.pl) with your browser (Point to url to main-admin.pl).
The script will ask you to set up your admin password.
I called the main-admin.pl script by typing the url…
<A target="_blank" HREF=http://jennyw2.netfirms.com/cgi-bin/mail-admin.pl.
I entered my password and the received this message…
An error has been occured. The error is: Unable to open the data file for reading
Reason: No such file or directory
What does that mean? Which file do you think they’re talking about?
8) copy and paste the tags below then paste them on your html document.
Here’s the url where the user can send me their email address: http://jennyw2.netfirms.com/mailing_list.htm
9) Done.
!!Important!!
All of the script files and data files have to be uploaded in "ASCII" mode or you will always get a 500 server error while accessing the program.
I did this. I would never forget this step!
What do you think the problem could be?