View Full Version : Javascript Mailto function

06-05-2004, 11:34 PM
Hello Everyone!

in an html form, if one does not have cgi or php, the best way to send the form to an email is the "mailto" function, right?

what if you don't want to put the "mailto" function in the 'action' aspect of the form? is it possible to use the "mailto" function in a javascript code?

i have looking for this javascript code and i have yet to find it!!!!

i just want to send all the data from a form named "today" to a specified email address.

is this even possible?

thank you all in advance,


06-06-2004, 12:52 AM
HTML and javascript alone cannot do this. You need a server-side language such as PHP to handle the form values and do the mailing functions for you. This is a very common topic that could have been found from Searching (http://codingforums.com/showthread.php?t=37371&highlight=mailto).