Question

I have a big problem with gmail who change my text into a link. I created a email for my company but gmail changed the span "test.com" into a link.

<span class="tt1">Lorem ipsum<br><br>dolor sit amet<br><br>on test.com<br></span>

I don't want a link can u help me?

Thx

Was it helpful?

Solution 4

Now test&#46;com doesn't work with gmail, we must use test&#173;.com

OTHER TIPS

You can't stop Gmail from turning it into a link, but you can make it a link that goes nowhere and style it to not appear like a link and Gmail will respect your styles. example:

<span class="tt1">Lorem ipsum<br><br>dolor sit amet<br><br>on <a href="" class="no-link">test.com</a><br></span>

add css

.no-link { color:#000; text-decoration:none; cursor:default; }

That is something Gmail handles and since it's an email, there isn't much you can do because javascript isn't an option. You could try inserting your URL/domain like this test&#46;com, but that likely won't change the outcome. You might just have to live with it in Gmail. If you can't, I recommend you not include your domain name.

As a side note, Gmail will also auto-link telephone numbers, addresses and even events.

this issue is related to the Gmail email client.

try using the Html code for "."

<span class="tt1">Lorem ipsum<br><br>dolor sit amet<br><br>on test&#46;com<br></span>

But now i remember, using Gmail client in versions prior to Android 4.0 filter all the links of url and email accounts on the Gmail template.

Other option to disable the link in your email account:

test<span>@</span>email.com
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top