Answer the question
In order to leave comments, you need to log in
Why does Mail.ru cut the link in the email?
When registering on the site, the user receives an automatically generated email with a link to confirm the email.
$message = 'Для подтверждения EMAIL перейдите по ссылке: <strong><a href="'.SITE_SERVER_NAME.'/account/confirm.php?confirm='.md5($params['VALUE']).'">Подтвердить Email</a> </strong><br>';
<a target="_blank" rel=" noopener noreferrer">Подтвердить Email</a>
Answer the question
In order to leave comments, you need to log in
You don't have a protocol in href and it's generally a relative link (it doesn't start with //), so it's not valid for mail. By e-mail standards, the default scheme for emails, if not available, is file://. Form the correct full link with https://
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question