$message = "ここにHTMLを書く";$response = smtp_mail($to, $subject, $message, $from, $headers);if($response[0]) echo "The message has been sent !\n".$response[1];else echo "The message can not been sent !\n".$response[1];