I'm sending an activation email to newly registered users on my page. The mail arrives like it should and everything but I have on problem.
The variable that is passed to the email template is used 2 times.
First time on the button that activates you account:
<a style="padding: 10px 20px; background-color: #A3D900; color: #ffffff;" href="<?php echo $activate_url; ?>"><b><?php echo __('Activate') ?></b></a>
And the second time under the button in normal text:
<p style="color:#333;">
<?php echo $activate_url; ?>
</p>
The link is properly added only the second time. The first on (the button href) links to the email itself (email.mydomain.com/....).
Why is this happening? How can I fix it?