Form won't send to email?

This is a discussion on "Form won't send to email?" within the Web Page Design section. This forum, and the thread "Form won't send to email? are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jan 21st, 2007, 14:38
Junior Member
Join Date: Jan 2007
Location: UK
Age: 23
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Form won't send to email?

I made a HTML form in my site as unfortunately I am only on a free host that doesn't support PHP (I can't yet afford to pay for a host)

I have my site uploaded and all I wanted was for the form when submitted to be sent to me in raw data to the email address I put in the code but this doesn't seem to be working.

This is the code I used:

<form method="post" action-mailto:"great_gulper@yahoo.co.uk">
Name: <br />
<input type="text" name="fullname" size="30"/> <br />
Email: <br />
<input type="text" name="e-address" size"30"/> <br />
</p>
<p>
Subject: <br />
<input type="text" name="subject" size="40"/> <br /> <br />
Category: <select name="category">
<option selected="selected">Feedback</option>
<option>Commission Information</option>
<option>Complaint</option>
<option>General Enquiry</option>
</select>
</p>
<p>
Comment: <br />
<textarea name="comment" rows="10" cols="55">
</textarea>
</p>
<p>
<input type="checkbox" name="yes" /> Yes! Please answer this email! <br />
<input type="checkbox" name="no" /> No! Leave me alone! <br />
</p>
<p>
<center>
<input type="submit" value="Send!" />
<input type="reset" value="Reset" />
</center>
</p>
</form>

And this is the site link: http://www.helioslune.co.uk/ContactMe.html

As you can see it's all there and does appear to be functioning but is it possible I've made an error somewhere in my code that I'm just not seeing?

Any help would be hugely appreciated!

Inks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jan 21st, 2007, 18:03
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form won't send to email?

Well, a form will only open up a mail program and put the information in it, it won't send it. The problem is with your code, however.

<form method="post" action="mailto:user@domain.com">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jan 22nd, 2007, 15:17
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Form won't send to email?

As far as I know you would have to use CGIEmail or similar to have it actually send. PHP mail() will work too.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jan 22nd, 2007, 16:11
Junior Member
Join Date: Jan 2007
Location: UK
Age: 23
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form won't send to email?

Quote:
Originally Posted by Ryan Fait View Post
Well, a form will only open up a mail program and put the information in it, it won't send it. The problem is with your code, however.

<form method="post" action="mailto:user@domain.com">

Ah hah! That's great! Right now I have to rely on it opening an email program until I can get a server that can support PHP.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
email, forms, html

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Form send in email Bravo81 PHP Forum 20 Jan 17th, 2008 11:47
PHP Form to send sender an email? gribble PHP Forum 5 Mar 26th, 2007 13:06
how to send email in php manzil PHP Forum 1 Jul 30th, 2006 16:34
Send form details to an email address...please help! newbie44 JavaScript Forum 4 Oct 2nd, 2005 08:45
Send Email w/ Attachment from ASP form laundrymedia Classic ASP 3 Nov 7th, 2003 20:44


All times are GMT. The time now is 03:48.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42