1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
<?php $name="Derek"; $message = "<html><body>"; $message .= " <center> <b>You are getting this email because you are!</b> <br> <font color='red'>Thank You, $name</font><br> <b>Confirm Your Email</b><br> </center> <br><br>© 2013 Copyright | Codehaven.Com | All rights reserved. "; $message .= "</body></html>"; $subject = "Important info!"; $headers = "From: " . $from . "\r\n"; $headers .= "Reply-To: ". $from . "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; mail($to,$subject,$message,$headers); ?> |
