• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

HTML links in e-mail are breaking at the client end into aref and telephone number

We send a link in an e-mail to our clients.  Most of the time it is no problem at all but occasionally we get a problem with the link being broken at the client end.

Here is a classic link


We clearly define it as an HTML atag in our e-mail

We are finding that the link splits into a atag and a phone number for everything after the "=" sign.  It does not happen for all clients, and not even for clients in the same company with the same e-mail server.

We are not sure but we think that if the end User is using a forwarder to a web based e-mail or has a Voice feature turned on then this is what is causing it.

Any ideas as to cause and solution would be most welcome :)

2 Solutions
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Are they viewing it on a smart phone? or desktop?  Which browser?

When you are generating the link, it might help to make sure there is no white space too.  Check if you have option A or B here.  In some cases, I find getting rid of white space prevents what you are experiencing.
<a href="http://disney.org/?i=3156463999">http://disney.org/?i=3156463999</a>
<a href="http://disney.org/?i=3156463999"> http://disney.org/?i=3156463999 </a>
On server  links are case-sensitive. Even if they work  on your local computer, but they may not work  on  your server.
Kim WalkerWeb Programmer/TechnicianCommented:
Many email clients "linkify" telephone numbers. Anything that looks like a telephone number it will make a link. If the content of your a tag is the same as your href value, the 10-digit number will be "linkfied" inside your link, effectively turning it into two links. However, in this case I would expect the first half of the link to still work correctly. Using your example above, I would make the content something different from your url like:
<a href="http://disney.org/?i=3156463999">Disney</a>

Open in new window

If you're sending text-only emails, you may actually have to change the number value of the link to a non-10-digit number. You would also want to avoid 11-digit numbers that begin with a 1.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now