Yahoo is removing the href
attribute from the <a>
elements from emails that we send for registration approval or password reset.
We are using Sendgrid web api to send mails using nodemailer-sendgrid-transport module.
After googling possible answers, I am certain that:
- We are using complete urls (starting with
https://
at the start of the url). - We have added
target="_blank"
attribute to our<a>
elements. - Our emails don't go in to spam. So it's not related with disabling links in spam issue.
However these didn't solve our problem.
Is there any way to prevent yahoo from disabling links by removing href
attribute?
Issue is not occurring when on other mail providers such as gmail etc.