hi i have created a email to be sent to customers. i want to insert a link to page how can i do that
thanks
hi i have created a email to be sent to customers. i want to insert a link to page how can i do that
thanks
Like every other Link in your website…
In your email template just for example:
use yii\helpers\Html;
...
...
<?= Html::a('MY LINK', Yii::$app->urlManager->createAbsoluteUrl(['controller/action', 'id' => $model->id])); ?>
Regards
thanks