for the last three versions i have used a modified mailform to obtain names and addresses and am slowly working through V11 to put my script mods back in but have come across a problem with the mailform in v11
I edit the mailform.pl file to allow sending of the additional information as shown below
this allows me to collect the details entered in the modified contact us form, shown below
Now my problem is that V11 no longer seems to send this info and i do not understand why, i can see no reason why captcha would effect this but then im no expert in these fields
Can anyone shed some light on the subject, i have also checked the mailform script on the server and the uploaded version has the mod in it
Darren
PS can V11 be added to this sections title
I edit the mailform.pl file to allow sending of the additional information as shown below
Code:
# Construct the mail text and send it to the merchant # $sError = ACTINIC::GetPhrase(-1, 2377); $sTextMailBody .= ACTINIC::GetPhrase(-1, 2370) . $sName . "\r\n"; $sTextMailBody .= "Company or House: " . $::g_InputHash{'HOUSE'} . "\r\n"; $sTextMailBody .= "Street: " . $::g_InputHash{'ADDRESS1'} . "\r\n"; $sTextMailBody .= "Town: " . $::g_InputHash{'ADDRESS2'} . "\r\n"; $sTextMailBody .= "City: " . $::g_InputHash{'ADDRESS3'} . "\r\n"; $sTextMailBody .= "County: " . $::g_InputHash{'ADDRESS4'} . "\r\n"; $sTextMailBody .= "PostCode: " . $::g_InputHash{'ADDRESS5'} . "\r\n"; $sTextMailBody .= ACTINIC::GetPhrase(-1, 2371) . $sEmailRecpt . "\r\n"; $sTextMailBody .= "Phone Number: " . $::g_InputHash{'PHONE'} . "\r\n"; $sTextMailBody .= "Catalogue Required: " . $::g_InputHash{'catalogue'} . "\r\n"; $sTextMailBody .= ACTINIC::GetPhrase(-1, 2373) . "\r\n" . $sMessage . "\r\n\r\n"; my @Response = ACTINIC::SendMail($::g_sSmtpServer, $$::g_pSetupBlob{EMAIL}, $sSubject, $sTextMailBody, $sEmailRecpt); if ($Response[0] != $::SUCCESS) { ACTINIC::RecordErrors($Response[1], ACTINIC::GetPath()); $sError = $Response[1]; } # # Now bounce back to the mail page
Code:
<tr> <td> </td> <td>Company or House:</td> <td><input name="Company or House" size="50" maxsize="125" value="" /></td> </tr> <tr> <td> </td> <td><span class="actrequiredcolor">Street: *</td> <TD><input name="Street" size="50" maxsize="125" value="" /></td> </tr> <tr> <td> </td> <td>Town:</td> <TD><input name="Town" size="50" maxsize="125" value="" /></td> </tr> <tr> <td> </td> <td>City:</font></td> <td><input name="City" size="50" maxsize="125" value="" /></td> </tr> <tr> <td> </td> <td><span class="actrequiredcolor">County: *</td> <td><input name="County" size="50" maxsize="125" value="" /></td> </tr> <tr> <td> </td> <td><span class="actrequiredcolor">Post Code: *</td> <td><input name="Postcode" size="50" maxsize="125" value="" /></td> </td> </tr> <tr> <td> </td> <td><span class="actrequiredcolor">Phone No: *</td> <td><input name="Phone_No" size="50" maxsize="125" value="" /></td> </td> </tr>
Can anyone shed some light on the subject, i have also checked the mailform script on the server and the uploaded version has the mod in it
Darren
PS can V11 be added to this sections title
Comment