Ok... I'm ashamed to ask, but does anyone have an example of a HTML Form that I can use to Send Emails???
I've finally found a host that offers CGI Hosting, and I need some code that I'm certain will work.
Thanks in Advance
Printable View
Ok... I'm ashamed to ask, but does anyone have an example of a HTML Form that I can use to Send Emails???
I've finally found a host that offers CGI Hosting, and I need some code that I'm certain will work.
Thanks in Advance
google for 'perl sendmail' !
You'll probbaly want to learn the basics of perl as well try the webmonkey tutorial thats how i got started
Hi try this form, and if u didnt like it you can edit it.
____________________________________________________
<html>
<body>
<form action="MAILTO:[email protected]" method="post" enctype="text/plain">
<h3>This form sends an e-mail to W3Schools.</h3>
Name:<br>
<input type="text" name="name"
value="yourname" size="20">
<br>
Mail:<br>
<input type="text" name="mail"
value="yourmail" size="20">
<br>
Comment:<br>
<input type="text" name="comment"
value="yourcomment" size="40">
<br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>
</body>
</html>
____________________________________________________
what internet explorer are you using? because that doesn't work for me!
hi Platty,
...iam using internet explorer 5.5
i use that and msn....but with 5.5 it brings up outlook express and with msn it brings up hotmail.
i had to use <form action="send.php"> because the "mailto:" script was bringing up outlook express or msn mailer....try using the send.php and use this script in it:
<html><title>Email Sent to Webmaster</title>
<?php
mail("[email protected]", $subject, $message) ;
?></html>
change the name of your comment box to message and the name box to subject...good luck