Hi everyone!
I've made a very simple e-mail form with 4 text fields and 1 submit button. The action mails to a specific e-mail address but when I receive the mail (in Microsoft Outlook) I get a .att file and not the actual form. How can I fix that?
has a great one) if you are on a *nix server. If you are on an NT server that allows you to use ASP, I have an excellent formmail.asp script and instructions.
Email me cjohnson@SHOESbellcoglass.com (take my shoes off to email me) and I can send the script an dinstructions. The script is also available at worldwidemart.com. When in doubt, deny all terms and defnitions.
As was stated, you need some kind of formmail program.
It should look something lik this when you are done.
i happen to use formmail, so that is what it is setup for.
<TD WIDTH="50%">
<FORM METHOD=POST ACTION="/cgi-bin/formmail.cgi">
<input type=hidden name="recipient" value="Webmaster@yoursite.com">
<input type=hidden name="subject" value="what you want the subject line of your e-mail.">
<input type=hidden name="redirect" value="/feedback.html">
<input type="CheckBox" name="what, if anything you want them to check">
The words you want by the check box.
<TABLE border="0" width="390" align="center">
<TR>
<TD ALIGN="RIGHT" width="66"><FONT SIZE="2"
FACE="Arial"><EM><STRONG>Name</STRONG></EM></FONT></TD>
<TD width="314">
<INPUT TYPE="text" SIZE="30" NAME="Name">
</TD>
</TR>
<TR>
<TD ALIGN="RIGHT" width="66"><FONT SIZE="2"
FACE="Arial"><EM><STRONG>E-mail</STRONG></EM></FONT></TD>
<TD width="314">
<INPUT TYPE="text" SIZE="35" NAME="Email">
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="top" width="66"><FONT SIZE="2"
FACE="Arial"><EM><STRONG>Comments</STRONG></EM></FONT></TD>
<TD width="314">
<TEXTAREA NAME="Comments" ROWS="5" cols="40"></textarea>
<p><br>
<INPUT TYPE="RESET" VALUE="Clear the form">
<INPUT TYPE="SUBMIT" VALUE="Submit">
</p>
</TD>
</TR>
</TABLE>
</FORM>
If you use the formmail.cgi script, make sure you use the latest versions. There is ahole in formmail.cgi which allows nasty spammers to use your sendmail to forward spam and the emails will appear as if they came from your account.
Death to Spammers! When in doubt, deny all terms and defnitions.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.