Click to See Complete Forum and Search --> : Looking for help with email stuff...pleeez


rae
12-02-2002, 07:33 PM
Sorry for such an annoying and silly question. I was given a job to do at work and its due tomorrow and I have no idea how I am going to get it completed. Maybe someone out there can/will help me. All I need is to create a form which website visitors will enter their personal info on... like name email and maybe a checkbox or two and when they hit the submit button it will get emailed. Is there a way to do this without using a cgi script. The IT guy told me today that "Because of security concerns you cant use cgi" Anyway... I considered using a java servlet because the platform is solaris. but thats gonna take way to long. Can anyonme give me a quik fix that will work until I can create a servlet??? Thanks..
Cor

Stefan
12-02-2002, 08:45 PM
Originally posted by rae
Can anyonme give me a quik fix that will work until I can create a servlet??? Thanks..
Cor [/B]

How to make a form you can find here
http://www.w3.org/TR/html4/interact/forms.html

Then just keep your fingers crossed that the visitor has a configured mailclient on the comp (s)he is on.

rae
12-02-2002, 09:06 PM
Thanks Stefan: I had the following simple script trying to get my 2 text boxes to post on the email Well The email gets sent... but it is empty..... I dont understand why.

<html>
<head></head>
<body>
<form enctype="text/plain" method="get" action="mailto:The_burren@yahoo.com">
Your First Name: <input type="text" name="first_name">
<br>
Your Last Name: <input type="text" name="last_name">
<br>
<input type="submit" value="Send">
</form>
</body>
</html>

Why is this not sending the contents of the two text boxes in the body of the email???