We have a web application that sends emails to users. The emails include various hyperlinks, which are displayed correctly and work correctly except in one case, in which the link includes the name of the server on which the application is running. The link text is displayed correctly in the email, but the link itself does not work correctly because the application strips out the server name when it sends the email. This does not happen if the application is used to send the emails via a browser on the server itself, but it does happen when the application is used to send the emails via a browser over the Web. What could be causing this?
The application inserts the link in the email as follows.
<a href = "http://application.server.com/folder">http://application.server.com/folder</a>
However, when the email is received, it contains only a part of the link as follows; i.e., with the server name stripped out of the link.
<a href = "/folder">http://application.server.com/folder</a>