So I have a form:
Name:
Use
if(mail('myemail.co.uk', $email, $message)) $sent_mail = true; else $sent_mail = false;
And finally: