Search code examples
htmlhyperlinkgmailhrefmailto

Disable mailto from email in GMail Body


I send mails to gmail users through google smtp. We use email addresses as their Login Ids. When I send their email addresses in mail body, the address is shown with mail to. Example, I intend to show : [email protected] [as plain Text] But what they get is HTML :

<a href="mailto:[email protected]" target="_blank">[email protected]</a>

Somewhere on SO, I read that replacing '@' and '.' with their hex codes would fix the issue, but it didn't.

Any suggestions?


Solution

  • I hacked it by adding my CSS/html to the email address where I specified the mailto as empty and removed the link decoration.