\r\n" ."Reply-To: ".$email."\r\n" ."Return-Path: " .$email. "\r\n" ."MIME-Version: 1.0\r\n" ."Content-type: text/html; charset=UTF-8\r\n"); if($mail){ echo 'OK'; }else{ echo 'Could not send email!'; } } else echo $error; } ?>