Jump to content


Email Submit Form


2 replies to this topic

#1 boony

    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 18 May 2009 - 02:11 PM

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?

#2 lolzaka

    Young Padawan

  • Members
  • Pip
  • 21 posts

Posted 18 May 2009 - 05:39 PM

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

#3 Raven-X

    Young Padawan

  • Members
  • Pip
  • 71 posts
  • Gender:Male
  • Location:New Jersey
  • Interests:I love having fun, programming, web design, graphic design, gaming, anime, manga, and being a student (love learning new software).

Posted 21 May 2009 - 09:51 PM

I'm working on an email form myself.

GO here: Website

That tutorial also shows you how to validate user input/email form.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users