PK

ADDRLIN : G:/PleskVhosts/mindatest.in/mindasilca.in/
FLL :
Current File : G:/PleskVhosts/mindatest.in/mindasilca.in/send.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<title>Documento sin t&iacute;tulo</title> 
<script type="text/javascript"> 
function closepage(){
  setTimeout(function(){ 
    // alert('Hello again!'); 
  close(); 
  },3000); 
 
} 
 
</script> 
</head> 
 
<body  class="forbody" onload="closepage();"> 
  OTP sent to your EmailID. Please check your spam folder as well. Thanks.
</body> 
<?php 

	$name = $_GET['nm'];
    $email = $_GET['em'];
    $otp = base64_decode($_GET['otp']);

    $headers = "From: Minda Silca <hrmindasilca@gmail.com>\r\n";
    $headers .= "Reply-To: Minda Silca <hrmindasilca@gmail.com>\r\n";
    $headers .= "MIME-Version: 1.0\r\n";
    $headers .= "Content-Type: text/html; charset=UTF-8\r\n";  

    $mail_subject = 'Verify Email';
    
    $mail_message_content = 'Dear '.$name.',<br><br>Your OTP is '.$otp.'. Thanks.<br><br>';
    
	$email_to = $email;
    mail($email_to, $mail_subject, $mail_message_content, $headers);
    //mail($email2, $mail_subject, $mail_message_content, $headers);
	//mail('kapoor.rohit95@gmail.com', $mail_subject, $mail_message_content, $headers);
    
 //header('Location: '.$url.'.aspx?msg=true'); 
 ?>
</html> 


PK 99