in my code I generate a body of a html email message. Part of it is following:リンクは<a href> tag when content has .com inside
<a href="mylink.pl">SomeName.com</a>
When I receive this email in my Mail client or in Gmail and when I click the link I'm directed to the SomeName.com
and not to the mylink.pl
which is in the href part of the <a>
tag. And it looks that this situation occurs only for the .com
domains.
Any ideas how I could deal with this?
Try using absolute urls as Quentin mentioned. Tongue in cheek, that code snippet seems to be for phishing :-) – Satish
No it's not fishing, we just want to count how many times our users go to different sited from our links, so the link leads to our service, but the user is automatically redirected to the service SomeName.com – Jakub
So what you really want is: 'SomeName.com 'で動作しません。 –