Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old March 14th, 2007, 06:43 PM   #1
WebForumz Member
 

Join Date: Jan 2007
Location: England
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Gerry will become famous soon enough
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.
Gerry is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 14th, 2007, 07:38 PM   #2
Elite Veteran
 

Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all karinne is a name known to all
Re: form submission and mailing problems........aaaagh

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

Code:
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
karinne is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 14th, 2007, 07:46 PM   #3
WebForumz Member
 

Join Date: Jan 2007
Location: England
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Gerry will become famous soon enough
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
Gerry is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 15th, 2007, 07:27 AM   #4
Elite Veteran
 

Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all Lchad is a name known to all
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:
    <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
Lchad is offline  
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

Bookmarks

Tags
email , form , mailto , post , submit


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Your Design and Layout 3 December 26th, 2007 02:54 PM
Form Submission page markusdavid HTML, XHTML and CSS 3 September 7th, 2007 08:50 PM
E-mailing a report based on current record on form easydoesit Databases 0 August 27th, 2007 07:07 PM
form submission with Javascript ktsirig JavaScript 1 December 18th, 2006 05:16 PM
About form submission with Dreamweaver a.jenery HTML, XHTML and CSS 8 February 7th, 2006 07:20 AM


Search Engine Optimization by vBSEO 3.2.0 RC8