PDA

View Full Version : submit mailto mulfunction?


ivanhoe
08-12-2002, 03:51 PM
Hi there,
I got this script working well as
<FORM NAME="mailform" form ACTION="mailto:myself@mydomain.com?Subject=Comment Product Inquiry" METHOD = "POST" ENCTYPE = "text/plain">
<INPUT TYPE="hidden" SIZE = 0 NAME="Need Info">

Now I get this error after click submit;
ERROR
The supplied email address 'Name=Tom' is formatted incorrectly. Please resubmit with a properly formatted email address, and make sure that all other fields are correct, as well. Thanks.

All because I have change -Action- to this script;

<FORM NAME="mailform" FORM ACTION="/cgi-sys/formmail.pl" METHOD = "POST" ENCTYPE = "text/plain">
<INPUT TYPE="hidden" SIZE = 0 NAME="recipient" value="myself@mydomain.com">

well, here is the full script and can someone fix this for me please;

<html>

<table>


<FORM NAME="mailform" FORM ACTION="/cgi-sys/formmail.pl" METHOD = "POST"
ENCTYPE = "text/plain">
<INPUT TYPE="hidden" SIZE = 0 NAME="recipient" value="myself@mydomain.com">


<p><strong>Please tell us how to get in touch with you:</strong><dl>
<dd><pre>Name <INPUT TYPE = "text" size="35" maxlength="256" NAME = "Name">
E-mail&nbsp;&nbsp;&nbsp;&nbsp;<input
type="text" size="35" maxlength="256" name="Email">
<font color="blue">Company</font> <input type="text" size="35" maxlength="256" name="Company">
<font face="times" size="1"
color="blue">(optional)</font>
</pre>
</dd>
</dl><p><strong>Tell us how we can help you?</strong><dl>
<dd><select name="Subject" size="1">
<option selected value="Products">Products</option>
<option value="Web Site">Web Site</option>
<option>Parts 1</option>
<option>(Other)</option>
</select> Other: <input type="text" size="26" maxlength="256" name="SubjectOther"></dd>
</dl>
<p><strong>Enter your comments in the space provided below:</strong><dl>
<dd><textarea name="Comments" rows="5" cols="42"></textarea></dd>
</dl>
<p><font color="#800080"><strong><input type="checkbox" name="New Stamps or Sales"
value="ON" checked>Please notify me of new products or sales!</strong></font></p>

<dl>
<dd><input type="checkbox" name="ContactRequested" value="ContactRequested"> Please contact
me as soon as possible regarding this matter.</dd>
</dl></table>
<p><center><INPUT TYPE="SUBMIT" style="color:#ffffff;font-weight:bold;border-color:#00E1E1;background-color:#678571;cursor:hand;font-family:times" NAME="Submit" VALUE="Submit"><input type="reset" style="color:#ffffff;font-weight:bold;border-color:#00E1E1;background-color:#42A46B" value="Clear Form">
<INPUT TYPE = "button" style="color:#ffffff;font-weight:bold;border-color:#00E1E1;background-color:#42A46B" VALUE = "Return to Previous Page" onClick="history.back();"></p></center>
</form>
</html>

Squintz
08-12-2002, 04:34 PM
<FORM NAME="mailform" form ACTION="mailto:myself@mydomain.com?Subject=Comment Product Inquiry" METHOD = "POST" ENCTYPE = "text/plain">
<INPUT TYPE="hidden" SIZE = 0 NAME="Need Info">

Can u use spaces in NAME="Need Info" or are spaces invalid....Im not sure im a newbie

ivanhoe
08-12-2002, 06:11 PM
Don't have a problem with this but we are deleting this;

<FORM NAME="mailform" form ACTION="mailto:myself@mydomain.com?Subject=Comment Product Inquiry" METHOD = "POST" ENCTYPE = "text/plain">
<INPUT TYPE="hidden" SIZE = 0 NAME="Need Info">


Here is what we need to fix;

<FORM NAME="mailform" FORM ACTION="/cgi-sys/formmail.pl" METHOD = "POST" ENCTYPE = "text/plain">
<INPUT TYPE="hidden" SIZE = 0 NAME="recipient" value="myself@mydomain.com">

Please try http://www.marksignusa.com/Contactpage.html

Quiet Storm
08-12-2002, 06:47 PM
Originally posted by ivanhoe

Please try http://www.marksignusa.com/Contactpage.html

You have a copyright on your Error page?! :rolleyes: Doesn't work anyway...


Error
The supplied email address 'Name=John' is formatted incorrectly. Please resubmit with a properly formatted email address, and make sure that all other fields are correct, as well. Thanks.
Copyright 2001

Squintz
08-13-2002, 12:14 PM
did you change the string names in formmail.pl to match the strings you are passing to it...

Once again im new so im only guessing