Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <?php
  2. $activationcode=md5($_REQUEST["email"]);
  3. $to = $_REQUEST['email'];
  4. $msg = "
  5. <html>
  6. <head>
  7. </head>
  8. <body>
  9. <h1>HEADING</h1>
  10. <p>We are happy to have you as a member<br> Thanks again for registering We value your privacy and use a variety of security measures to protect your
  11. personal information click.</p>
  12. <p>
  13. <a href=www.google.com>GOOGLE</a>//it works
  14. <a href=www.mywebsite.com>ABC</a>//it doesnt work
  15. </p>
  16. </body>
  17. </html>
  18. ";
  19.  
  20. $senderemail="abc@gmail.com";
  21. $headers = "MIME-Version: 1.0" . "rn";
  22. $headers .= "Content-type:text/html;charset=ISO-8859-1" . "rn";
  23. $headers .= 'From: ' .$senderemail . "rn".
  24. 'Reply-To: ' . $senderemail. "rn" .
  25. 'X-Mailer: PHP/' . phpversion();
  26. mail($to,"SUBJECT",$msg,$headers);
  27.  
  28. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement