Ebook link

$email = $_POST[’email’];

$sad = date(“d-m-Y, H:i”);
$to = ‘techno.zoki@gmail.com’;
$msg = $sad . “\n\nName: ” . $ime . “\n\nEmail: ” . $email;
$headers = “From: ebook-email-list@proweightlossguide.com”;

$headers1 = “From: noreply@proweightlossguide.com”;

$msg1 = “Hello ” . $ime . “,\n\nHere is your ebook download link:\n\n http://www.proweightlossguide.com/files9/AGuideToHealthyLiving.pdf \n\n\nEnjoy reading it :)\n\nPro Weight Loss guide Staff\nwww.proweightlossguide.com”;

@mail($to, ‘New email signup from Proweightlossguide’, $msg, $headers);

if (@mail($email, ‘Your ebook link’, $msg1, $headers1)) {

echo ‘Your ebook link has been sent to ‘ . $email . ‘. If you don\’t find it in your inbox make sure you check out your spam folder. Enjoy reading our ebook :)’;

}

}

else {
echo ‘Not enough data. Email not sent.’;
}

?>

You may also like...