Your IP : 216.73.216.91


Current Path : /var/www/html/nadineandmiabeauty/mail/
Upload File :
Current File : //var/www/html/nadineandmiabeauty/mail/emailsubscribe.php

<?php
    extract($_POST);
	$message = '
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
</head>  
	
<body>
<div class="container">
	<div class="row text-center">
        <div class="col-sm-6 col-sm-offset-3">
        <!--<br><br> <h2 style="color:#0fad00">Success</h2>-->
        <img style="width:25%" src="http://nadineandmiabeauty.com/img/logo/logo-nadine-web.png">
        <p style="font-size:20px;color:#5C5C5C;">Thank you for subscribing Nadine & Mia Beauty</p>
        <a href="http://nadineandmiabeauty.com/" class="btn btn-success">Click here to visit our website</a>
    <br><br>
        <a href="http://nadineandmiabeauty.com/unsub.php?email='.$email_sub.'" class="btn btn-danger">Click here unsubscribe</a>
    <br><br>
        </div>
        
	</div>
</div>
</body>
</html>
';
	
	$email= "$email_sub";
    $subject = 'Welcome to Nadine & Mia Beauty';
    $headers = 'From:no-reply@nadineandmiabeauty.com';
	$headers .= "Reply-To: no-reply@nadine&miabeauty.com\r\n";
	//$headers .= "CC: abdulmoiz.baig.work@gmail.com\r\n";
	//$headers .= "BCC: abdulmoiz.baig.work@gmail.com\r\n";
	$headers .= "MIME-Version: 1.0\r\n";
	$headers .= "Content-Type: text/html; charset=UTF-8\r\n";
    mail($email, $subject, $message,$headers);
    header("location:../index.php?subscribed");
?>