Files
xk-api-yii/common/mail/emailVerify-html.php

17 lines
438 B
PHP
Raw Normal View History

2024-09-19 11:32:39 +08:00
<?php
use yii\helpers\Html;
/** @var yii\web\View $this */
2024-12-19 19:20:27 +08:00
/** @var \common\models\oldDb\User $user */
2024-09-19 11:32:39 +08:00
$verifyLink = Yii::$app->urlManager->createAbsoluteUrl(['site/verify-email', 'token' => $user->verification_token]);
?>
<div class="verify-email">
<p>Hello <?= Html::encode($user->username) ?>,</p>
<p>Follow the link below to verify your email:</p>
<p><?= Html::a(Html::encode($verifyLink), $verifyLink) ?></p>
</div>