PDA

View Full Version : form mail


dford
06-26-2001, 03:39 PM
Okay, I am trying to install the Formmail script on my site.
Site: www.goscinsales.com
Page with script: www.goscinsales.com/ordering_information.htm

I have configured formmail from Matt's script archive before but I am not sure about this one.

What is the path to the script? In the cpanel it gives a path but if I look there I do not see formmail.pl. When I set that as the path anyway I get an error or the mail is not sent at all.

Do I still have to download a copy of the script from somewhere and put it in my cgi bin? I can do that but I thought the script was already located somewhere on this server.

Thanks for the advice.

reuben
06-26-2001, 03:59 PM
You seem to have the code from two different forms combined. You start with

<form method="POST" action="_vti_bin/shtml.exe/ordering_information.htm" o

and then you also open

<FORM NAME="theform" METHOD="post" ACTION="/cgi-sys/FormMail.pl">

You can only open one form at a time.

dford
06-26-2001, 04:27 PM
Yes, thanks Reuben. I did have the code from the original form that was on this page still partially there. I appreciate you pointing this out.

However, now I get the following message:

"Sorry I can't send to ionet.net. Is ionet.net on this server"

I am trying to send to dford@ionet.net.

Also, I believe some of the issues I described in my original message are still a problem.

Thanks again!

Abyss Network
06-26-2001, 09:41 PM
I noticed that when I tried the script, that is has to be sent to an e-mail @hosted-domain.com ... it has to be the domain you access the script from. I know it's a pain in the @$$ but, I guess that's how it works!

dimx
06-27-2001, 07:45 AM
It could be setup the way Abyss Network mentioned, but I think its something else.

Please post the source on your site as a .txt file so I will be able to view online. I'm sure I can figure it out. Its hard to tell what the problem is without viewing the actual source code.

If you post it right away, I can probably give you a reply by today.

Thanks.

reuben
06-27-2001, 08:31 AM
If it is true that it needs to be mailed to an email address on your domain, what I would suggest is just set up a forwarding email address. Just make form_mail@yourdomain.com forward to dford@ionet.net. You can then have the scipt send to form_mail@yourdomain.com instead.

That should solve it.