Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $activationcode=md5($_REQUEST["email"]);
- $to = $_REQUEST['email'];
- $msg = "
- <html>
- <head>
- </head>
- <body>
- <h1>HEADING</h1>
- <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
- personal information click.</p>
- <p>
- <a href=www.google.com>GOOGLE</a>//it works
- <a href=www.mywebsite.com>ABC</a>//it doesnt work
- </p>
- </body>
- </html>
- ";
- $senderemail="abc@gmail.com";
- $headers = "MIME-Version: 1.0" . "rn";
- $headers .= "Content-type:text/html;charset=ISO-8859-1" . "rn";
- $headers .= 'From: ' .$senderemail . "rn".
- 'Reply-To: ' . $senderemail. "rn" .
- 'X-Mailer: PHP/' . phpversion();
- mail($to,"SUBJECT",$msg,$headers);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement