Forum Moderators: coopster
You could do it a few ways. The first that comes to mind is adding another form field, something like "what is the nature of the enquiry", and have an option for "site" and one for "business".
<select size="1" name="emailtype">
<option value="1">Site</option>
<option value="2">Business</option>
</select>
then when the form is submitted
if($HTTP_POST_VARS['emailtype'] == 1)
{
// Site Email / Do whatever here
}
else
{
// Business Email Do whatever here
}
You could maybe change the title of the email you send so that you can still tell the difference when you get the mail ;)