![]() |
|
|
#1 (permalink) |
|
Ickle One
Join Date: Oct 2003
Location: north lincolnshire
Posts: 67
|
brainjar form to email
Hi
I have been looking at the brainjar form to email script - kindly recommended by Paul - and I think I must be super dim cause I can't get it to work! I've tried using the form they supply as a demo and customising my own form and every time the submit button is clicked I get the address bar showing www.domain.com/test/formmail.asp with an http500 internal server error page. I'm stuck! Can anyone make any suggestions? It does mention ASPMail, CDONTS, CDOSYS and JMail. I've tried it with ASPMail and CDONTS and get the same repsonse. Thoughts appreciated please. Kate |
|
|
|
|
|
#2 (permalink) |
|
Administrator
Join Date: May 2003
Posts: 1,299
|
Hi,
What is the <form action= ? On the demo you are using? Regards, Jacob
__________________
Jacob Colton jacob@catalyst2.com Open a ticket | Knowledgebase | Rate catalyst2 | Review catalyst2 |
|
|
|
|
|
#4 (permalink) |
|
Administrator
Join Date: May 2003
Posts: 1,299
|
Can you copy and paste the whole of that line so I can see what it says?
__________________
Jacob Colton jacob@catalyst2.com Open a ticket | Knowledgebase | Rate catalyst2 | Review catalyst2 |
|
|
|
|
|
#5 (permalink) |
|
Ickle One
Join Date: Oct 2003
Location: north lincolnshire
Posts: 67
|
Here's the form code:
<form name="form1" method="post" action="formmail.asp" /> <input type="hidden" name="_subject" value="Website Enquiry"/> <input type="hidden" name="_redirect" value="contact_thankyou.htm" /> <input type="hidden" name="_recipients" value="kate@udomain.com" /> <p>Please complete the enquiry form below and a member of the team will get back to you shortly.</p> <table width="355" cellpadding="0" cellspacing="0" class="bodytext"> <tr> <td width="93">Name*</td> <td width="262"><input name="name" type="text" id="name2" size="37" /></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td>Company</td> <td><input name="company" type="text" id="name3" size="37" /></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td>Address</td> <td><textarea name="address" cols="28" rows="4" id="textarea"></textarea></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td>Telephone</td> <td><input name="telephone" type="text" id="name4" size="37" /></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td>Email*</td> <td><input name="email" type="text" id="name5" size="37" /></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td>Enquiry</td> <td><textarea name="enquiry" cols="28" rows="4" id="textarea2"></textarea></td> </tr> <tr> <td> </td> <td height="30"> </td> </tr> <tr> <td colspan="2">Please indicate which of our services you are interested in:</td> </tr> <tr> <td colspan="2"><table width="355" cellpadding="0" cellspacing="0" class="bodytext"> <tr> <td width="177"> </td> <td> </td> </tr> <tr> <td height="20"><input name="corpid" type="checkbox" id="corpid" value="yes" /> Corporate Identities</td> <td height="20"><input name="prospectus" type="checkbox" id="prospectus" value="yes" /> Prospectus Production</td> </tr> <tr> <td height="20"><input name="corpbrand" type="checkbox" id="corpbrand" value="yes" /> Corporate Branding</td> <td height="20"><input name="pressadvert" type="checkbox" id="pressadvert" value="yes" /> Press Advertising </td> </tr> <tr> <td height="20"><input name="brochure" type="checkbox" id="brochure" value="yes" /> Brochure/Leaflet Production</td> <td height="20"><input name="photography" type="checkbox" id="photography" value="yes" /> Photography</td> </tr> <tr> <td height="20"><input name="ideas" type="checkbox" id="ideas" value="yes" /> Design Ideas & Concepts</td> <td height="20"><input name="webdev" type="checkbox" id="webdev" value="yes" /> Web Development</td> </tr> <tr> <td height="20"><input name="annualreport" type="checkbox" id="annualreport" value="yes" /> Annual Report Production</td> <td height="20"><input name="hosting" type="checkbox" id="hosting" value="yes" /> Web Hosting</td> </tr> <tr> <td height="20"><input name="directmail" type="checkbox" id="directmail" value="yes" /> Direct Mail Campaigns</td> <td height="20"><input name="webmaintenance" type="checkbox" id="webmaintenance" value="yes" /> Web Maintenance</td> </tr> <tr> <td height="20"><input name="marketing" type="checkbox" id="marketing" value="yes" /> Marketing</td> <td height="20"><input name="domainreg" type="checkbox" id="domainreg" value="yes" /> Domain Name Registration</td> </tr> <tr> <td> </td> <td> </td> </tr> </table></td> </tr> <tr> <td height="30" colspan="2"> </td> </tr> <tr> <td colspan="2">When would you like us to contact you?</td> </tr> <tr> <td colspan="2"><table width="355" cellpadding="0" cellspacing="0" class="bodytext"> <tr> <td width="177"> </td> <td> </td> </tr> <tr> <td height="20"><input name="contact1" type="checkbox" id="contact1" value="asap" /> As soon as possible</td> <td height="20"><input name="contact4" type="checkbox" id="contact4" value="in 3 months" /> In three months</td> </tr> <tr> <td height="20"><input name="contact2" type="checkbox" id="contact2" value="fortnight" /> Within a fortnight</td> <td height="20"><input name="contact5" type="checkbox" id="contact5" value="in 6 months" /> In six months</td> </tr> <tr> <td height="20"><input name="contact3" type="checkbox" id="contact3" value="this month" /> This month</td> <td height="20"><input name="contact6" type="checkbox" id="contact6" value="in a year" /> In a year</td> </tr> <tr> <td> </td> <td> </td> </tr> </table></td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"><input name="mailinglist" type="checkbox" id="mailinglist" value="do not hold details on file" /> <font color="#93CF1A" size="1">Please check this box if you do not wish us to hold your details on file. We will not pass your details on to any third party.</font></td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"><input name="Submit" type="submit" onClick="MM_validateForm('name2','','R','name5','' ,'RisEmail');return document.MM_returnValue" value="Submit Enquiry" /></td> </tr> </table> </form> And here's the customisable bit inthe formmail.asp: '- Customization of these values is required, see documentation. ----------- referers = Array("www.urbanfeather.com","urbanfeather.com") mailComp = "ASPMail" smtpServer = "mail.urbanfeather.com" fromAddr = "studio@urbanfeather.com" '- End required customization section. ------------------------------------- Sorry form is a bit long!! Hope that helps |
|
|
|
|
|
#6 (permalink) |
|
Administrator
Join Date: May 2003
Posts: 1,299
|
and where is page with this form on?
__________________
Jacob Colton jacob@catalyst2.com Open a ticket | Knowledgebase | Rate catalyst2 | Review catalyst2 |
|
|
|
|
|
#7 (permalink) |
|
Ickle One
Join Date: Oct 2003
Location: north lincolnshire
Posts: 67
|
I've put all pages - formmail.asp, contact_thankyou.htm, and contact.htm - in the same folder 'test' on my domain. so path to everything is
www.urbanfeather.com/test/formmail.asp www.urbanfeather.com/test/contact.htm (page with form) etc I tried the in different folders too and decided that maybe it was that causing problems. Now I've just confused myself! |
|
|
|
|
|
#8 (permalink) |
|
Administrator
Join Date: May 2003
Posts: 1,299
|
Hi,
Please try changing it to: referers = Array("www.urbanfeather.com","urbanfeather.com") mailComp = "CDOSYS" smtpServer = "guava.catalyst2.com" fromAddr = "studio@urbanfeather.com" Regards, Jacob
__________________
Jacob Colton jacob@catalyst2.com Open a ticket | Knowledgebase | Rate catalyst2 | Review catalyst2 |
|
|
|
|
|
#9 (permalink) |
|
Ickle One
Join Date: Oct 2003
Location: north lincolnshire
Posts: 67
|
Thanks for that Jacob.
I changed everything over as suggested and the form processed, sending me to the thank you page, but I didn't get an email. I tried replacing the guava.urbanfeather.com with mail.urbanfeather.com and it worked fine. Thanks for your help. I don't feel quite so dim now!! ![]() Kate |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|