Hi there, I have got formmail working on a contact form, but when the email comes through, it does not display a phone number, when it is added.
Can anyone shed any light?
Please see both the HTML and the PL script
<form action="chfeedback.pl" method="POST">
<table border="0" cellpadding="8" cellspacing="8" summary="feedback form">
<tr><td><label for="tswname">Name</label>:</td><td><input type="text" name="fullname" id="tswname" size="25" /></td></tr>
<tr><td><label for="tswemail">Email address</label>:</td><td><input type="text" id="tswemail" name="email" size="25" /></td></tr>
<tr><td><label for="tswphone">Telephone Number</label>:</td><td><input type="text" id="tswphone" name="phone" size="25" /></td></tr>
<tr>
<td colspan="2">
<label for="tswcomments">Comments</label><br />
<textarea rows="15" cols="45" name="comments" id="tswcomments"></textarea>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" value="Submit" /><INPUT value=Reset type=reset /><br />
</td>
</tr>
</table>
</form>
PL File
# ---------- USER CONFIGURATION SECTION ---------------
# Before this script will do anything useful, the following
# variables must be set.
#
# MANDATORY VARIABLES
# $mailprog - the location of your mail program and the parameters
# to pass to it.
#eg $mailprog = "/usr/lib/sendmail" ;
# $mailto - email address where the feedback will be sent
# eg, $mailto = 'yourname@example.com' ;
# $subject - the subject line in the email sent by the feedback form
# eg $subject = "Feedback Form" ;
#
# $formurl - the URL of your feedback form
# eg $formurl = "http://www.example.com/feedback.html" ;
# $thankyouurl - the URL of your thank you page
# eg $thankyouurl = "http://www.example.com/thanks.html" ;
# $errorurl - the URL of your error page
# eg $errorurl = "http://www.example.com/error.html" ;
$mailprog = "/usr/lib/sendmail" ;
$mailto = 'info@domain.co.uk' ;
$subject = "Contact Form" ;
$formurl = "http://www.domain.co.uk/contact.htm" ;
$errorurl = "http://www.domain.co.uk/error.htm" ;
$thankyouurl = "http://www.domain.co.uk/received.htm" ;
I would really appreciate some help on this.. I cant seem to find any info on this.
Thanks in advance
Steve