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.



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
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
Send a message via AIM to Inkers Send a message via MSN to Inkers
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
Reply With Quote

  #2 (permalink)  
Old Jan 21st, 2007, 18:03
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
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">
Reply With Quote
  #3 (permalink)  
Old Jan 22nd, 2007, 15:17
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
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.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #4 (permalink)  
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
Send a message via AIM to Inkers Send a message via MSN to Inkers
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.
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 08:36.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs 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 43