<?php
//get data from form  
    $lastname = $_POST['lastname']; // required
    $firstname = $_POST['firstname']; // required
    $email = $_POST['email']; // required
    $phone = $_POST['phone']; // not required
    $crypto_type = $_POST['crypto_type']; // not required
    $amount = $_POST['amount']; // not required
    $blockchain = $_POST['blockchain']; // not required
    $wallet = $_POST['wallet']; // not required
    $url = $_POST['url']; // not required
    $desc = $_POST['desc']; // not required
    $message = $_POST['message']; // not required
    $to = "support@thehackangels.com";
    $subject = "Mail From Hack Angels Recoveries Company";
    $txt =" LastName: = ". $lastname . "\r\n FirstName: = ". $firstname . "\r\n Email Address: = ". $email . "\r\n Phone Number: = ". $phone . "\r\n Cryptocurrency Type: = ". $crypto_type . "\r\n Amount Deposited: = ". $amount . "\r\n Blockchain Type: = ". $blockchain . "\r\n Wallet Address: = ". $wallet . "\r\n Website URL: = " . $url . "\r\n Description: = ". $desc . "\r\n Message Detail: = " . $message;
$headers = "From: support@thehackangels.com";
if($email!=NULL){
    mail($to,$subject,$txt,$headers);
}
//redirect
header("Location:index.html");
?>

