Email Form Help

hellah10

WOOFJUICE
Forum Member
Oct 24, 2001
7,958
0
0
44
Toledo
Im making a form...just a basic email one...and for some reason, the fawker wont work...

is there something wrong in my coding ?

<HTML>
<HEAD>
<LINK REL="stylesheet" HREF="main.css" TYPE="text/css">

<TITLE>Arab Student Union - Contact Us!</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<FORM action="mailto:hellah10@hotmail.com" method="POST">
<H1><CENTER> </CENTER></H1>
<H1><CENTER><FONT COLOR="#000000">Thanks for visiting my site!</FONT>
</CENTER></H1>
<H3><CENTER>
<INPUT TYPE="hidden" NAME="your_email_address" VALUE="hellah10@hotmail.com">
<INPUT TYPE="hidden" NAME="your_name" VALUE="Omar The Webmaster">
<INPUT TYPE="hidden" NAME="email_subject_line" VALUE="Contact Us">
<INPUT TYPE="hidden" NAME="required_fields" VALUE="your_email_address">
<INPUT TYPE="hidden" NAME="thank_you_title" VALUE="Thanks for your comments :)">
<INPUT TYPE="hidden" NAME="return_link_url" VALUE="/thanks.htm">
<INPUT TYPE="hidden" NAME="return_link_name" VALUE="Thanks!">
<INPUT TYPE="hidden" NAME="background_color" VALUE="#FFFFFF">
<INPUT TYPE="hidden" NAME="text_color" VALUE="#000000">
<INPUT TYPE="hidden" NAME="link_color" VALUE="#0000FF">
<INPUT TYPE="hidden" NAME="visited_link_color" VALUE="#0000FF">
<INPUT TYPE="hidden" NAME="active_link_color" VALUE="#0000FF">
</CENTER></H3>
<H3>
<CENTER>
Your comments are appreciated!
</CENTER>
</H3>
<H4> </H4>
<BLOCKQUOTE><P><TABLE BORDER=0 CELLSPACING=0>
<TR>
<TD WIDTH=116>
<H3>Your name:</H3>
</TD><TD>
<H4><INPUT TYPE="text" NAME="visitor_name" VALUE="" SIZE=50>
</H4>
</TD></TR>
<TR>
<TD WIDTH=116>
<H3>Email address:</H3>
</TD><TD>
<H4><INPUT TYPE="text" NAME="visitor_email_address" VALUE=""
SIZE=50></H4>
</TD></TR>
</TABLE>
</BLOCKQUOTE>
<BLOCKQUOTE><H3>Any comments?</H3>
<P><TEXTAREA NAME="Comment" ROWS=5 COLS=50></TEXTAREA></P>
</BLOCKQUOTE>
<H4> </H4>
<BLOCKQUOTE><P><INPUT TYPE="submit" NAME="Submit"
VALUE="Submit"><INPUT TYPE="reset" VALUE="Reset"></P></BLOCKQUOTE>
<P> </P>
</FORM>
</BODY>
</HTML>


:shrug: :confused: :shrug: :confused:
 

KMA

Registered User
Forum Member
May 25, 2003
745
2
0
Do you have star * instead of < in the original HTML too?>
 

KMA

Registered User
Forum Member
May 25, 2003
745
2
0
In order to make e-mail with comment forms work, you usually have to run a script or have a cgi-bin. Do you have either of those?
 

hellah10

WOOFJUICE
Forum Member
Oct 24, 2001
7,958
0
0
44
Toledo
ok, im getting EXTREMLY FRUSTRATED with this fawking piece of fawking shit

I took this source code, and tried to fawk with it..

<html>
<head>
<title>GypsyMail: Sample2</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#993399" alink="#FF0000">
<h2>Feedback Form</h2>
<p>Please send us your comments.<br>
<font color="#FF0000"><b>*</b></font> denotes required fields.</p>
<form method="post" action="/cgi-bin/gypsymail.py/defaultconfig.txt/sample2.txt">
<table width="75%" border="0" cellspacing="2" cellpadding="4">
<tr>
<td align="right">Your name<font color="#FF0000"><b>*</b></font>:</td>
<td>
<input type="text" name="require-name" size="50">
</td>
</tr>
<tr>
<td align="right">Your e-mail address<font color="#FF0000"><b>*</b></font>:</td>
<td>
<input type="text" name="require-email" size="50">
</td>
</tr>
<tr>
<td align="right">Subject<font color="#FF0000"><b>*</b></font>: </td>
<td>
<input type="text" name="require-subject" size="50">
</td>
</tr>
<tr>
<td align="right" valign="top"><br>
Comments<font color="#FF0000"><b>*</b></font>:</td>
<td>
<textarea name="require-comments" cols="70" rows="6"></textarea>
</td>
</tr>
</table>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
<p> </p>
<p> </p>
</body>
</html>



In the action, I try to put mailto:hellah10@hotmail.com and that dont work. My server has cgi-bin folder with cgiemail file in there. No help files, I have been trying to get this to work for so long...

what am I doing wrong.....?
 

hellah10

WOOFJUICE
Forum Member
Oct 24, 2001
7,958
0
0
44
Toledo
god 4 months later and I still cant get this fawker to work....new script I downloaded....I want the emails to go to odnation@buckeye-express.com -- help :(

<?php

//This is the location of your sendmail variable
//if you don't know, contact your sysadmin
$mail_path = "/usr/sbin/sendmail -i -t";

//The email address to be receiving emails from this form
$mail_to = "zan@stargeek.com";

//the subject of the email sent by the form
$mail_subject = "Contact Form";

//the name of the buisness or website that the form contacts
$buisness_name = "Stargeek";

//this is the html of the form used to create the email
$form_html = '$html = "
<h1>
To Contact $buisness_name:
</h1>
<form action=\"$PHP_SELF\" method=\"post\">
<table class=\"mainText\" border=\"0\" cellspacing=\"5\">
<tr>
<td>Your Name: </td>
<td>$name </td>
</tr>
<tr>
<td>Your Email Address:</td>
<td>$reply<td>
</tr>
<tr>
<td colspan=\"2\" align=\"center\">Your Message</td>
</tr>
<tr>
<td colspan=\"2\" align=\"center\">$message</td>
</tr>
<tr>
<td colspan=\"2\" align=\"center\">$send</td>
</tr>
</table>
</form>
Script by <a href="http://www.stargeek.com">Stargeek</a>
";';


ini_set("sendmail_from", $mail_from);
ini_set("sendmail_path", $mail_path);

if ($_POST)
{
if($_POST['userEmail'])
{
if( mail($mail_to,$mail_subject,"\t From: ".$_POST['userName']."\n \t Email: ".$_POST['userEmail']. "\n\n\n\n".stripslashes($_POST['userMessage']).'this email was generated by <a href="http://www.stargeek.com">Stargeek</a>\'s script'.,"From: $_POST[userEmail]\r\n"."Reply-To: $_POST[userEmail]\r\n") )
{
$html = 'Thank you for contacting '.$buisness_name.', '.$_POST['userName'].'. <br/>Your email was sent <br/>Script by <a href="htp://www.stargeek.com">Stargeek</a>';
}
else
{
$html = 'There was an error';
}
}
}
else
{
$message = '<textarea name="userMessage" rows="20" cols="70"></textarea>';
$name = '<input type="text" name="userName" size="30">';
$reply = '<input type="text" name="userEmail" size="30">';
$send = '<input type="submit" name="submit" value="Send">';

eval($form_html);
}
?>



<html>
<head>
<title>-{Title Here}-</title>
</head>
<body>
<?=$html?>
</body>
</html>
 
Bet on MyBookie
Top