Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Code change, body URL too long in e-mail message

Status
Not open for further replies.

Ladyborg

Programmer
May 11, 2002
208
US
I have a forum to which people can opt to receive messages when new replies are posted. In the posting message there are hidden fields which send emails.

PROBLEM: The entire URL of the forum and message is sent and it is too long, gets chopped off and people click on it only to go nowhere. It's probably an easy fix but I'm not experienced enough to know it. :eek:(

I'd like it to say something like CLICK HERE TO VIEW REPLY or something and be a hot link to the entire URL of the post.

Any help would be greatly appreciated, here's the code:

<input type=&quot;hidden&quot; name=&quot;MAIL_BODY&quot; value=&quot;Hello <%=(rsFormReply.Fields.Item(&quot;NAME&quot;).Value)%>! Your post <%=(rsFormReply.Fields.Item(&quot;MSG_SUBJECT&quot;).Value)%> has been replied. Please read it at <%= myURL %>/forums/message.asp?r=forums&t=<%=(rsFormReply.Fields.Item(&quot;FOR_NAME&quot;).Value)%>&i=<%=(rsFormReply.Fields.Item(&quot;MSG_ID&quot;).Value)%>&quot;>
ladyborg64x64.gif
Ladyborg
&quot;Many of life's failures are people who did not realize how close they were to success when they gave up.&quot; [Thomas A. Edison]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top