How To Avoid Stripting Link In Tpl?

I send a link from a function to a .tpl file. The link is like this: [url=“”][/url]

And I send it to email. But the link doesn’t appeared in email. I think the link is being stripped while sending.

It seems as href=“https://”

How to add a link correctly?