Subject: | Problem with HTML::Mail named anchor |
Date: | Thu, 19 Feb 2009 10:23:21 -0800 (PST) |
To: | bug-HTML-Mail [...] rt.cpan.org |
From: | Calvin Cheng <calvin_x_cheng [...] yahoo.com> |
Hello,
I am trying to send an HTML email with named anchor inside.
For example, I have the following,
<a href="#section1">Go to section 1</a>
and later
<a name="section1">This is section 1</a>
in a HTML file demo.html inside a directory /x/y
When I sent this file using HTML::Mail, the first link is changed to
<a href="file:///x/y/demo.html#section1">
which is obviously incorrect since the recipient does not have a file demo.html on his local drive. This link should not be changed at all.
How do I solve this problem? Is this a bug in the HTML::Mail module?
Best regards,
Calvin Cheng