Crystal wrote:
Ok guys, I'm stumped.
I have an ASP page that converts the asp code in a form to html. It
then writes a VERY LONG URL and sends it to an email.
Okay.
I have it set up to write to a link (so that the email isn't like a page
long of just a link)
I'm not sure what you mean by this.
However, when it writes the URL, it trunkates it to a
certain length. Anyone know if there is a limit to the length of a
URL in an <a href.../a> tag?
In terms of the URL, no, but you may wish to avoid long URLs anyway:
<URL:http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2.1>
It sounds like you don't have a problem with the URL per se, but rather a
problem with writing long strings into the mail (unless you have an unusual
setup, your mailing component won't try and parse URLs).
Firstly, depending on how you are sending the email (CDONTS?), word-wrapping
might occur. I can't remember if or how that can be disabled, check your
manual.
From that point, you have to deal with people who forward mails around.
Depending on the application, this may or may not be a problem. Use the
following syntax to get around it:
<URL:http://www.example.com/>
(I believe some clients prefer it with a space after the first colon, some
clients prefer it without, and some clients ignore it completely).
I think the problem is solved most easily by just creating a shorter link.
Can you put a redirector in the root directory of your website or
something?
--
Jim Dabell