This is a discussion on "Formmail.asp help" within the Classic ASP section. This forum, and the thread "Formmail.asp help are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Formmail.asp help
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Formmail.asp help
First I would like to extend my greatings to everyone on WebForums. This is my first post here.
I am having some issues with setting up formmail.asp and I was hoping someone would be kind enough to help me out. Here is the problem. When I submit the form, I get the automatic error messages Form could not be processed due to the following errors:
here is the code if you need to take a look formmail.asp (located in "/scripts/") <%@ LANGUAGE="VBScript" %> <% '************************************************* ************************** '* ASP FormMail * '* * '* Do not remove this notice. * '* * '* Copyright 1999-2002 by Mike Hall. * '* Please see http://www.brainjar.com for documentation and terms of use. * '************************************************* ************************** '- Customization of these values is required, see documentation. ----------- referers = Array("www.cambridgeeikaiwaschool.com", "cambridgeeikaiwaschool.com") mailComp = "ASPMail" smtpServer = "coral.mail.plala.or.jp" fromAddr = "myISPemail@coral.plala.or.jp" '- End required customization section. ------------------------------------- and the formmail.htm <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> <style type="text/css"> <!-- .style1 {color: #FFFFFF} --> </style> </head> <body><form action="Scripts/formMail.asp" method="post" enctype="text/plain" dir="ltr" lang="ja"> <input name="_recipients" type="hidden" value="myISPemail@coral.plala.or.jp" /> <input name="_requiredFields" type="hidden" value="生徒の名前,親の名前,Eメール,電話番号,コメントや質問,男・親,年,コース名,月,日 ,年,時間" /> sorry if the code is messy. so this is the problem. I have read the setup pages for this and they all say for the recipient field "myemail@mydomain.com " and I just dont get it. as a foot note, Im still relatively new to this stuff. Thank you in advance to whomever can lend me a hand. Regards. Mark Hollas |
|
|
|
#2
|
|||
|
|||
|
Re: Formmail.asp help
Hi,
I don't know anything about ASP but the refferer needs to be set to the domain on which your site is hosted, if your site is hosted under the domain www.dphollas.com then this is what I think you need to have in your referers array i.e. referers = Array("www.dphollas.com", "dphollas.com") doesn't matter what address is forwarding to that address I don't know about the email error though |
![]() |
| Tags |
| formmailasp, help |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FormMail V3.09cl | lmc148 | Other Programming Languages | 0 | Dec 12th, 2007 22:52 |
| Doubt in formmail | Mukti Prasad | Classic ASP | 0 | May 3rd, 2007 19:14 |
| Problems with formMail.asp | golena | Classic ASP | 2 | Dec 14th, 2005 20:08 |
| Need HELP - with formmail | bplatosz | Web Page Design | 4 | Nov 21st, 2005 19:01 |