Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 17th, 2006, 7:09 PM   #1
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 296
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
Send Form through Email

Hello, I'm making somethign and it's like a contact form and when they clikc submit i need it to send the form to specifed email without lanuching outtlook like with mailto:blah@blah.com

Im just wabntign whren they clikc Submit ZAP its in my email.
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain

Destruction leads to a very rough road, but it also breeds creation.
bigguy is offline   Reply With Quote
Old Jan 22nd, 2006, 9:10 AM   #2
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 314
Rep Power: 4 mackenga is on a distinguished road
To avoid having the user's mail user agent send the form, you need to have their browser send it via HTTP:

<FORM action="/path/to/cgi/cgiscript.pl">
 ...
</FORM>

Of course, that's the easy part. The more tricky part is that /path/to/cgi/cgiscript.pl is just an example - you need a CGI script or other server-side code to actually send the email. You can send emails from virtually any server-side scripting technology; a popular method is to use the sendmail command at the server side, though beware of security problems with shelling out from a CGI using data you've taken from a user-submitted form. Personally, I write my CGI scripts in Tcl and use the mime and smtp packages to send mail if I have to.

There are various form to mail scripts available - see what languages and/or server side technologies your hosting supports and see if one exists - ideally a free one - for your platform.

Hope this helps.
mackenga is offline   Reply With Quote
Old Feb 17th, 2006, 10:59 AM   #3
Tim_Myth
Newbie
 
Join Date: Nov 2004
Location: Dilworth, MN
Posts: 15
Rep Power: 0 Tim_Myth is on a distinguished road
You can look up bignosebird.com. They have a cgi script that will email forms for you as well. Probably easier than building your own.
Tim_Myth is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:57 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC