Help - Search - Members - Calendar
Full Version: Email Submit Form
Pixel2Life Forum > Help Section > HTML, XHTML, CSS and General Web Design
boony
I'm trying to setup an Email Submit Form but keeps getting "There was an error processing your request." What I have done is created the form and added it to my site, I have also created the necessary text file that collects the email and sends it to a designated email address. When I tested the form I got the following message, "There was an error processing your request."

My form code looks like this

<form name="subscribe" id="subscribe" action="http://www.mysite.com/public_html/subscribe.txt" method="post">
<div><input type="text" name="email-subscribe" id="email-subscribe" /><input type="submit" name="submit-news" id="submit-news" value="Submit" /></div>
</form>

The text file

To: my@email.com
From: [email]
Subject: New subscriptions [name]


What is wrong with the above code? can someone help me out? What needs to be added?
lolzaka
Why do you use a txt file oO;

Perosnally I would use PHP inside the form page. Try to look up some php mail tutorials, they arent that hard and most are easy to understand.

Good Luck

Raven-X
I'm working on an email form myself.

GO here: Website

That tutorial also shows you how to validate user input/email form.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.