Hi
I have a tiny problem, the emails outgoing from my website are all going to hotmail and are for some reason un-openable.
You have to click the 'This message has been blocked for your safety. Open message' in the red box at the top of the message.
I have posted a screenshot bellow.
Is it something in the code that is making it so hard to open in hotmail.
Thanks for any help.
<?php
if (isset ($_REQUEST['go']) && $_REQUEST['go'] == true) {
$emailh = "From: Psychedelic Rhinos <reecesplace@hotmail.co.uk>\r\n";
$emailh .= "MIME-Version: 1.0\r\n";
$email = $_POST['email'];
$name = $_POST['name'];
$msg = $_POST['message'];
$message = $msg." (Email address: $email)";
$subject = $_POST['subject'];
$subjectall = $subject." | From $name";
mail("reecestanton@hotmail.co.uk", $subjectall, $message, $emailh);
?>
<h2>Message Sent</h2>
<p style="width:700px;">A message has been sent to the site administrator. It will be read shortly.
</p>
</p> <a href="contact.php">Go back</a><br /><img src="images/tick.png" />
<?php
}
else {
?>
<h2>Contact Us</h2>
<p style="width:700px;">If you need to get in touch with the Rhinos urgently then <u>call 07958 964643</u> however if its more of a relaxed matter feel free to give us an email. Whether its about the website or even about training times, were always happy to help.
</p>
<br />
<form action="contact.php?go=true" method="post">
Name : <input type="text" name="name" style="margin-left:9px;" /><br /><br />
Subject : <input type="text" name="subject" /><br /><br />
Email : <input type="text" name="email" style="margin-left:12px;" /><br /><br />Message:<br /><br />
<textarea name="message"></textarea>
<br />
<input type="image" src="images/arrow.png" />
<br /><br />
</form>
<?php }; ?>