form submission and mailing problems........aaaagh

This is a discussion on "form submission and mailing problems........aaaagh" within the Web Page Design section. This forum, and the thread "form submission and mailing problems........aaaagh 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 Mar 14th, 2007, 21:43
Up'n'Coming Member
Join Date: Jan 2007
Location: England
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
form submission and mailing problems........aaaagh

Hey all,

Must I use php or cgi etc in order to have a form submitted via an email address? I thought a simple mailto would work, but it doesn’t.

Within Dreamweaver I have made a form thus

<form method="post" action="mailto:name@site.co.uk" enctype="text/plain" name="company_name">

(company details generalised for confidentiality)

then there are numerous fields, and bits to fill in, along with a submit button……….

<input name="Submit" type="submit" class="contactsubmit" value="Submit Form">

then form closure……………

</form>

From what I can gather by other research, all this should work. Frustrating. Anyone see any code I’m missing? Thanks.
Reply With Quote

  #2 (permalink)  
Old Mar 14th, 2007, 22:38
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: form submission and mailing problems........aaaagh

Well ... using the mailto link in that action with send a text file with stuff like

Code: Select all
name=My&Name&;otherfield=Some&other&info
Not sure exactly but it's really crappy. That's why it's better to use a PHP or Perl script to send the info.

Here's on I've been plastering on this forum

PHP Contact Script
Reply With Quote
  #3 (permalink)  
Old Mar 14th, 2007, 22:46
Up'n'Coming Member
Join Date: Jan 2007
Location: England
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Re: form submission and mailing problems........aaaagh

I wouldn't mind if a text file got sent at the moment, it doesn't matter too much what format the information gets sent in, because at least the form would be sending info of some sort. my frustration is that it isnt even doing that much. do you think the code looks like it should work?
I'll have a look at the script thanks, but was hoping a simple mailto would suffice in the meantime.
cheers.
PS I see around the forum you answer a lot to help folks out, just like to say thanks
Reply With Quote
  #4 (permalink)  
Old Mar 15th, 2007, 10:27
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: form submission and mailing problems........aaaagh

Here is an example of what I use for the first two lines of my form mail:
Code: Select all
    <form action="http://www.website.com/cgi-bin/FormMail.pl"
  method="POST" enctype="application/x-www-form-urlencoded">
  <input type="hidden" name="recipient" value="info">
My host added the enctype so check with your host to see if they have recommendations.
The only other mandatory line is the "recipient" . If you get those two lines it should work. The recipient must be the .com email address as well.

Hope that helps
Reply With Quote
Reply

Tags
email, form, mailto, post, submit

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
[SOLVED] Please help with creating a Mailing list form. Oak Starting Out 3 Dec 26th, 2007 18:54
Form Submission page markusdavid Web Page Design 3 Sep 8th, 2007 00:50
E-mailing a report based on current record on form easydoesit Databases 0 Aug 27th, 2007 23:07
form submission with Javascript ktsirig JavaScript Forum 1 Dec 18th, 2006 21:16
About form submission with Dreamweaver a.jenery Web Page Design 8 Feb 7th, 2006 11:20


All times are GMT. The time now is 10:30.


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