34 lines
786 B
PHP
34 lines
786 B
PHP
<?php
|
|
require_once __DIR__ . '/../connect.php';
|
|
|
|
$email = filterRequest("email");
|
|
$token = filterRequest("token");
|
|
|
|
$admin='support@siromove.com';
|
|
$headers = "MIME-Version: 1.0" . "\r\n";
|
|
$headers .= "Content-type: text/html; charset=UTF-8" . "\r\n";
|
|
$headers .= "From: $admin" . "\r\n";
|
|
|
|
$subject = "Verify your email address";
|
|
$bodyEmail = "
|
|
<html>
|
|
<head>
|
|
<title>Verify your email address</title>
|
|
</head>
|
|
<body>
|
|
<p>Hi [$email],</p>
|
|
|
|
<p>We recently received a request to verify your email address for your account on Siro App.</p>
|
|
|
|
<p>To verify your email address, please write this to app .</p>
|
|
$token
|
|
|
|
<p>If you did not request to verify your email address, please ignore this email.</p>
|
|
|
|
<p>Thank you,</p>
|
|
Siro Team.
|
|
</body>
|
|
</html>
|
|
";
|
|
|
|
mail($email, $subject, $bodyEmail, $headers); |