Gmail: How to prevent autolinks

I have a campaign that contains a couple email addresses in it.  However, I do not want Gmail to give it a link.  What can I do to prevent the linkage?

Mathew Mathew, 8 years ago

Gmail does that automatically - there's not much to be done without making it not look like an email address anymore, like you at yourdomain.com for example.

You might try using & # 6 4; (without the spaces) instead of the @ character, perhaps, I have not tested that. Is there a reason you don't want it to link?


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
Shadrach183, 8 years ago

Thanks.  I'll try your suggestion.  See if that works.

GMail changes an address to a blue hyperlink.  I have some campaigns that use a dark grey background and the hyperlink is almost impossible to read.  Every other email client displays the text normally (in this case white) so there is no problem.

jumptronic, 8 years ago

Just some thoughts:

Have you tried wrapping a span, with a declaration of the color, around the em address (in hopes of "forcing" the color on it)? Or, perhaps you anchor it as a link (with the inline style declaring the color you wish)...

let us know!

Stig Stig, 8 years ago

This was asked last year sometime.

Here's the code (as suggested by Matt and jumptronic):
<a href="mailto:[email]" style="color: white; text-decoration: none;">[email]</a>

Depending on the css of your template, there might be other styles to override aswell.


The Campaign Monitor Blog – HTML email smarts to go with your good looks.

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098