htmloutlook

How do I stop Outlook from rendering an email address as a mailto: link?


I am creating an HTML email to be sent to a user. If there is a valid email address to within an HTML email, Outlook will render it (normally helpfully) as a mailto: link. Unfortunately, that's not the desired behavior in the particular email I'm sending.

How do I stop Outlook from doing this?


Solution

  • Outlook doesn't recognize this pattern as an email: @[text]@[text].[text]

    Thus adding before the email:

    <a style="color: black; text-decoration: none"><font style="display: none">@</font>**email**</a>
    

    and

    <style>font {display: none}</style>
    

    in the <head> tag will remove the mailto link.