Code: Select all
<?php
//header("Location: approve.php");
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: info@De.co.uk <info@De.co.uk>\n";
$subject = "Approved";
$body ="<html><head></head><body>Thank you $approvename for posting at Der. <br>
Your post title is <b>$title</b><br>
Your post reference is <b>E$advert_id</b>. Please keep a record of this. <br><br>
If you have any questions, please <a href=http://de.co.uk/contact/contact.php>click here</a><br><br>
Please do not reply to this email.
</body></html>";
mail($email, $subject,$body,$headers);
?>Many thanks