0;$i--){
//$str = $str.chr(rand(1000, 9999));
$otp = rand(10000, 99999);
}
$body = 'Your one time password is : '.$otp;
$headers = 'From: '.$from. "\r\n" .
'Reply-To: '.$from. "\r\n";
$mailsend = mail($to, $subject, $body, $headers);
$_SESSION["stakeholder_otp"] = $otp;
if(!empty($_SESSION["stakeholder_otp"]) && $_SESSION["stakeholder_otp"]!='')
{
echo'
';
echo'
';
echo'
';
}
}
}
?>