monique
03-02-2005, 01:10 AM
Hi All,
Wondering if anyone else has encountered this problem with an html form that uses FormMail.pl version 1.92. I've got a form that requires the submitter to enter his/her email address into a form field, and once the user hits "Submit" and the form field data is emailed to me, his/her email address doesn't show up in the email (you basically get an email from a blank sender). ** I need the form submitter's email address to show up in the body of the email as part of the form results, AND in the 'from' area of an email (so you can reply to it)**. When I tried to mess around with the form to see if I could get the email address to show up, it will either show up as a form field in the body of the email (as form results) but will be from a 'blank' sender, or vice versa. I can't get the submitter's email address to show up in both places.
If anyone can point me in the right direction for a solution, I'd really appreciate it. My ISP doesn't have any idea how to help and I'm at my wits end! :confused:
Here's the snippet from my FormMail.pl file (if this won't suffice, let me know):
$mailprog = '/usr/lib/sendmail -i -t';
@referers = ('vancondo.com','www.vancondo.com','localhost');
@recipients = ('moniquecornish@telus.net');
@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');
and, here's the html markup for my form:
<FORM action="http://www.vancondo.com/cgi-bin/FormMail4.pl" method="post" name="Online Banking Registration" id="Online Banking Registration" onSubmit="MM_validateForm('sender_email','','RisEmail','strata_plan','','R','bldg_address','','R','unit','','R ','owner_registered_name','','R');return document.MM_returnValue">
<P>
<INPUT type=hidden value=moniquecornish@telus.net name=recipient>
<INPUT type=hidden value="Online Banking Registration" name=subject>
<INPUT type=hidden value=http://www.vancondo.com/onlinebank/thanks_reg_new.htm name=redirect>
<INPUT type=hidden value=REMOTE_HOST,HTTP_USER_AGENT name=env_report>
</P>
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#CCCCCC">
<td colspan="3" class="TopTitle">Online Banking Registration
Form<br> <br> </td>
<td bgcolor="#FFFFFF"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1" height="3"> </td>
<td height="3" class="normaltext"> </td>
<td height="3"> </td>
<td width="5" height="3"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"><font color="#000099">(*=
<font color="#000066" size="1">required field)</font></font></td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td> </td>
<td class="normaltext" valign="top"> </td>
<td valign="top"> </td>
<td> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td> </td>
<td class="normaltext" valign="top"><font color="#000099">*</font>
Your Email Address:</td>
<td valign="top"><input name="email" type="text" id="email" onBlur="MM_validateForm('email','','RisEmail');return document.MM_returnValue"></td>
<td> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td class="normaltext" valign="top"> </td>
<td valign="top"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext" valign="top"><font color="#000099">*</font>
Strata Plan #:</td>
<td width="174" valign="top"> <input name="strata_plan" type="text" id="strata_plan" onBlur="MM_validateForm('strata_plan','','R','bldg_address','','R','unit','','R','owner_registered_name','', 'R');return document.MM_returnValue">
</td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"> </td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext" valign="top"><font color="#000099">*</font>
Building Address:</td>
<td width="174" valign="top"> <input name="building_address" type="text" id="building_address" onBlur="MM_validateForm('bldg_address','','R');return document.MM_returnValue"></td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"> </td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext" valign="top"><font color="#000099">*</font>
Unit #:</td>
<td width="174" valign="top"> <input name="unit" type="text" id="unit" onBlur="MM_validateForm('unit','','R');return document.MM_returnValue" size="10" maxlength="10"></td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td class="normaltext"> </td>
<td> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"><font color="#000099">*</font>
Owner Name Registered on Title <br>
(First Name, Last Name): </td>
<td width="174"><input name="owner_registered_name" type="text" id="owner_registered_name" onBlur="MM_validateForm('owner_registered_name','','R');return document.MM_returnValue"></td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td class="normaltext" valign="top"> </td>
<td valign="top"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext" valign="top">Name of Person
Making Payments:<br> <font size="1"><em>(required if person
making payment is not the registered owner)</em></font></td>
<td width="174" valign="top"><input type="text" id="person_making_payment" name="person_making_payment">
</td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"> </td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td colspan="2" valign="top" class="normaltext">Please note
that your VCS Online Banking Registration Code along with
a current account statement for your unit will be mailed
to the address on record for the unit in question.</td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"> </td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext" align="center"> <input type="submit" name="Submit" value="Submit">
</td>
<td width="174"> <input type="reset" name="Reset" value="Reset">
</td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"> </td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
</table>
</form>
Wondering if anyone else has encountered this problem with an html form that uses FormMail.pl version 1.92. I've got a form that requires the submitter to enter his/her email address into a form field, and once the user hits "Submit" and the form field data is emailed to me, his/her email address doesn't show up in the email (you basically get an email from a blank sender). ** I need the form submitter's email address to show up in the body of the email as part of the form results, AND in the 'from' area of an email (so you can reply to it)**. When I tried to mess around with the form to see if I could get the email address to show up, it will either show up as a form field in the body of the email (as form results) but will be from a 'blank' sender, or vice versa. I can't get the submitter's email address to show up in both places.
If anyone can point me in the right direction for a solution, I'd really appreciate it. My ISP doesn't have any idea how to help and I'm at my wits end! :confused:
Here's the snippet from my FormMail.pl file (if this won't suffice, let me know):
$mailprog = '/usr/lib/sendmail -i -t';
@referers = ('vancondo.com','www.vancondo.com','localhost');
@recipients = ('moniquecornish@telus.net');
@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');
and, here's the html markup for my form:
<FORM action="http://www.vancondo.com/cgi-bin/FormMail4.pl" method="post" name="Online Banking Registration" id="Online Banking Registration" onSubmit="MM_validateForm('sender_email','','RisEmail','strata_plan','','R','bldg_address','','R','unit','','R ','owner_registered_name','','R');return document.MM_returnValue">
<P>
<INPUT type=hidden value=moniquecornish@telus.net name=recipient>
<INPUT type=hidden value="Online Banking Registration" name=subject>
<INPUT type=hidden value=http://www.vancondo.com/onlinebank/thanks_reg_new.htm name=redirect>
<INPUT type=hidden value=REMOTE_HOST,HTTP_USER_AGENT name=env_report>
</P>
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#CCCCCC">
<td colspan="3" class="TopTitle">Online Banking Registration
Form<br> <br> </td>
<td bgcolor="#FFFFFF"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1" height="3"> </td>
<td height="3" class="normaltext"> </td>
<td height="3"> </td>
<td width="5" height="3"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"><font color="#000099">(*=
<font color="#000066" size="1">required field)</font></font></td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td> </td>
<td class="normaltext" valign="top"> </td>
<td valign="top"> </td>
<td> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td> </td>
<td class="normaltext" valign="top"><font color="#000099">*</font>
Your Email Address:</td>
<td valign="top"><input name="email" type="text" id="email" onBlur="MM_validateForm('email','','RisEmail');return document.MM_returnValue"></td>
<td> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td class="normaltext" valign="top"> </td>
<td valign="top"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext" valign="top"><font color="#000099">*</font>
Strata Plan #:</td>
<td width="174" valign="top"> <input name="strata_plan" type="text" id="strata_plan" onBlur="MM_validateForm('strata_plan','','R','bldg_address','','R','unit','','R','owner_registered_name','', 'R');return document.MM_returnValue">
</td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"> </td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext" valign="top"><font color="#000099">*</font>
Building Address:</td>
<td width="174" valign="top"> <input name="building_address" type="text" id="building_address" onBlur="MM_validateForm('bldg_address','','R');return document.MM_returnValue"></td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"> </td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext" valign="top"><font color="#000099">*</font>
Unit #:</td>
<td width="174" valign="top"> <input name="unit" type="text" id="unit" onBlur="MM_validateForm('unit','','R');return document.MM_returnValue" size="10" maxlength="10"></td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td class="normaltext"> </td>
<td> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"><font color="#000099">*</font>
Owner Name Registered on Title <br>
(First Name, Last Name): </td>
<td width="174"><input name="owner_registered_name" type="text" id="owner_registered_name" onBlur="MM_validateForm('owner_registered_name','','R');return document.MM_returnValue"></td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td class="normaltext" valign="top"> </td>
<td valign="top"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext" valign="top">Name of Person
Making Payments:<br> <font size="1"><em>(required if person
making payment is not the registered owner)</em></font></td>
<td width="174" valign="top"><input type="text" id="person_making_payment" name="person_making_payment">
</td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"> </td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td colspan="2" valign="top" class="normaltext">Please note
that your VCS Online Banking Registration Code along with
a current account statement for your unit will be mailed
to the address on record for the unit in question.</td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"> </td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext" align="center"> <input type="submit" name="Submit" value="Submit">
</td>
<td width="174"> <input type="reset" name="Reset" value="Reset">
</td>
<td width="5"> </td>
</tr>
<tr bgcolor="#CCCCCC">
<td width="1"> </td>
<td width="221" class="normaltext"> </td>
<td width="174"> </td>
<td width="5"> </td>
</tr>
</table>
</form>