I am sending mail on hotmail for test purpose. I don't want to use html content type
Can anyone help me out?
thanks in advance.
Code: Select all
$to = $_POST["email"];
$subject = 'Your Password';
$message = 'Hi \n'. 'Your new password is:'.$substr;
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/plain; charset=iso-8859-1' . "\r\n";
$headers .= contactus . "\r\n";
mail($to, $subject, $message, $headers);