Here's some more info...
I've done some further testing and the problem seems to be due to some javascript on the enquiry form page. I have two pages..
enquiry-form.php
(visitor inputs their details)
Here's the opening form tag
<form name="contact" method="post" action="send-enquiry.php" onSubmit="return validate_contact()">
AND
send-enquiry.php
(the script in my original post)
return validate_contact() calls a javascript function which validates the visitors input. If I delete the line "return validate_contact()" the problem seems to go away.
I realise that this may now be a javascript problem rather than a PHP problem but if anyone can offer any further help on this please let me know.