Internal Links does not work in html embedded in an email

5 views
Skip to first unread message

Bing

unread,
Feb 22, 2009, 12:05:07 PM2/22/09
to Webmasters Helping Webmasters
Hi,

I'm experiencing this internal link problem with emailing an html.

In html, we put href="#news" to internally link to an anchor with name
"news". However, when I try to email this html by copy the content of
the html in an email client, e.g. Mail, ThunderBird or Outlook
Express, the internal links are just dead, and the recipient is not
able to click the links in the email.

Has anyone met this problem before? and how did u solve it? thank you

regards
Bing

Vision Jinx

unread,
Feb 23, 2009, 8:56:07 AM2/23/09
to Webmasters Helping Webmasters
Hi,

I am not clear on if your tying to target an element on a web page or
in the email. Can you clarify?

If your trying to target named elements on a webpage then you will
need the complete URL

href="http://www.domain.com/page.htm#news"

Cheers!
Vision Jinx

Bing Tian Dai

unread,
Feb 23, 2009, 11:52:26 AM2/23/09
to Webmaste...@googlegroups.com
Hi,

Thank you for your reply.

sorry to confuse you. Ok, i'm now trying to email an html, not by attaching it, but copy the content of html into the email body using software like mail, or thunderbird, or outlook express. So when the recipient receives the email, he actually see an html email.

So even if there is image in the html, the mail client software works properly as the image will be displayed in the email. However, the internal links broke, like if i have a <a href="#news"> and a <name="news">, the first one should point to the second one, but once this is inserted into an html, the linkage broke, the link has nowhere to go.

hope this clearly states my problem :)

thank you.
Bing

Vision Jinx

unread,
Feb 23, 2009, 2:16:22 PM2/23/09
to Webmasters Helping Webmasters
Hi,

It may be best if I can see your HTML code. One issue I see with what
you posted is "name" is an attribute not a tag. eg. <a name="news"></
a>

The document also must be long enough for it to scroll to that
location. Plus email clients are not web browsers and you might not be
able to assume everyone is reading the mail in HTML. Plus to make
things worse Microsoft is notorious for reformatting code so your
original code may have been broken. View the received email source and
see.

There are several potential things that may be happening so with out
actually being able to see some code or reproduce the issue I can only
make possible guesses.

Cheers!
Vision Jinx

Vision Jinx

unread,
Feb 23, 2009, 2:27:19 PM2/23/09
to Webmasters Helping Webmasters
Oops! to clarify, Regarding your example/code: "name" is an attribute
not a tag... In HTML. You could have a <name></name> tag in XML, but
still not <name="news">

Sorry about that
Reply all
Reply to author
Forward
0 new messages