![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Jun 2005
Location: Queensland
Posts: 37
Rep Power: 0
![]() |
forms submit to email
wat im trying to do is get a form to submit from my website and the information sent to my email. i used to be able to do this as i used a compact vision form, but form some reason this code has become invalid. so ive tried the mailto:email@ass.com thing but it comes up a warning that the form is being sent via email and outlook express opens up. can someone help me?
|
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Perhaps I'm misunderstanding your question. A mailto operation on the client normally brings up the email client on that machine. If you want to mail from the server, you need to evaluate the submitted form with your server-side code and use the funtions applicable to your server's mail facility. These vary, "sendmail" being a common one on *nix platforms.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
Well, I have a code ready for you which uses a server provided from freedback.com (I haven't mispelled it..its correct)..
Here's the link.... http://www.geocities.com/d_rosh2001/feedback.html You may develop your own code as well, if you know javascript, but the only thing you need to have is a server that automates the process of sending emails.
__________________
Visit: http://www.somaiya.edu |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Jun 2005
Posts: 14
Rep Power: 0
![]() |
Yeah, from my understanding, I could be wrong as I am still a newbie...during my readings you need a server to do what you want really. I stopped reading my XHTML book when they started talking about java and such, and moved on to my other book PHP and mySQL Web Development, as many of my friends say you only need the basics of XHTML to learn PHP.
edit: I forgot to add that I am also learning C# for web development, you ask why well I want to see it from 2 different points of view and plus never hurts to learn different ways to develop webpages. I also am looking to make windows applications...funny, I want to learn everything but I guess this takes an infinity amount of time to do. Last edited by Stash; Jul 1st, 2005 at 12:05 PM. Reason: Forgot to add |
|
|
|
|
|
#5 |
|
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 321
Rep Power: 4
![]() |
To foxcity911: yeah, getting the user's machine to submit via email used to be more of a real option than it is these days. Before everyone realised what a huge invasion of privacy it made possible there was no need for a warning about email submission, but consider a web page with a mail-submitted form with no submit button and no visible elements (i.e. the form is totally invisible to the user) which is submitted using JavaScript automatically; you could steal visitors' email addresses without their knowledge that way.
Without server-side machinery of some kind, there's not really any way around it. See other answers above; I've nothing useful to add really. to Stash: a nice way to get into GUI development very quickly and produce code that runs unmodified (or slightly modified) on Windows, Unix and Macintosh machines is with Tcl/Tk. See http://www.tcl.tk/ for more. It's a very nice extremely high level language well suited to rapid application development which can be embedded in C applications and also extended with C. It's interpreted but the interpreter is free and it's easier than usual to produce compact and tidy distributions with it. |
|
|
|
|
|
#6 |
|
Newbie
Join Date: Jul 2005
Location: Arizona
Posts: 19
Rep Power: 0
![]() |
Stash,
IBM just released a developer toolkit. I posted another Thread about the Ad Hoc(ADIEU) on it. It might prove useful for what you need. • http://www.alphaworks.ibm.com/tech/e...&ca=daw-rss-s8 Not trying to take away from mackenga's advice either, I would still suggest to check his suggestion out as well. |
|
|
|
|
|
#7 |
|
Programmer
Join Date: Feb 2005
Posts: 74
Rep Power: 4
![]() |
Make the form you want.
google php, and use mail() function.
__________________
Lorem ipsum dolor sit amet... |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|