Click to See Complete Forum and Search --> : E-mail form data


day
03-05-2003, 08:42 AM
Hi ! i would like to ask : how to send the data of a form through e-mail to someone.
I mean after user type in their data in a form and click the submit button, it will trigger to send the data to someone, by e-mail.
may be related to the outlook express, i think.

kk, thankz.:p

khalidali63
03-05-2003, 08:48 AM
<form action="mailto:myemail@email.com" enctype="text/plain">

if you put these 2 attribute and values in the form tag once a user clicks submit it will pass the data to the email address

Cheers

Khalid

RaiN
03-05-2003, 05:23 PM
And if you don't want your users to use outlook, since not many users use outlook, you can use http://www.response-o-matic.com they host cgi for free.

dabush
03-05-2003, 07:04 PM
doing it the way khalidali said does not force the person to use outlook. it opens the program that the user sets it to. it is different for everyone.

day
03-05-2003, 08:01 PM
what if i want to send CC and BCC like the e-mail we always send?(besides To)

khalidali63
03-05-2003, 08:04 PM
This is how you do that

document.formName.action = "MAILTO:mail1@mail.com\?CC\=mail2@mail.com"

Cheers

Khalid