i am facing a problem of delivering email to hotmail inbox. my email is marked as spam and it is delivered to hotmail spam folder.
My Code
<?php
$header = "Reply-To: info <info@appleparking.co.uk>\r\n";
$header .= "Return-Path: info <info@appleparking.co.uk>\r\n";
$header .= "From: info <info@appleparking.co.uk>\r\n";
$header .= "Organization: Mobit Solutions\r\n";
$header .= "Content-Type: text/plain\r\n";
if(mail("my_personal_email@hotmail.com", "Test Message", "testing",$header))
echo "email sent";
else
echo "email not sent";
?>
any help would be appreciated.