I recently downloaded a formmail.asp script from the following website:
http://www.sortedsites.com/software/formmail.asp.
I put both the formmail.asp script and my form (hawkeye_birthday_page.htm) in my directory at the following place:
www.sitesbysarah.com/oaknoll/for some reason the form is not working. I was wondering if maybe I have the form and asp script in the wrong place. Should they be placed in a certain folder or directory in order for them to work?
The portion of the script that I had to change is follows. Maybe I have entered the wrong info:
'############################## CONFIGURATION VARIABLES ####################################
'These are the only lines you will need to change
'----------------------------------------------------------------------------------------------------
strServer = "
smtp.www.sitesbysarah.com" 'set which smtp server will be used to send the email. enter ip address or domain name. eg: "xxx.xxx.xxx.xxx" or "smtp.your-domain.com"
intPort = 25 'set the smtp port to be used when sending mail (by default port 25 is used)
'Referrer's Array is defined here. Enter the valid domains which may use this script.
url = Array("
www.sitesbysarah.com")'Set which urls that will be accepted.
http://xxxxx/ 'Seperate multiple domains by commas
'eg: url= Array("
www.your-domain.com","your-domain.com","
www.my-domain.com")
'computer names can be used instead of domains if this script is being run locally
'eg: url = Array("computername")
'######################################### IMPORTANT NOTICE #########################################
'IMPORTANT: do not modify anything below this line unless you know what you are doing!!
'######################################### IMPORTANT NOTICE #########################################
Any advice you might have as to why my script is not working would be appreciated. I purchased ASP capability a while back, so it should work. I have no ASP programming knowledge, so was hoping the cut and paste route would work for me - ugh...
I probably filled in the fields incorrectly, but really don't know...
Thanks,
Sarah Barrick
s-barrick@suddenlink.net