Solved

ASP sending mail with link to new page. syntax errors

Posted on 2007-04-05
4
166 Views
Last Modified: 2010-04-16
I am trying to create a link inside a mail note sent during procesing of a form.
I am getting syntax errors and need help on the correct format.
I am sending an HTML page from asp and the following is in the body but doesent pass the information.
strBody =  " <A HREF='http://13.121.0.51/PCSupport/ListOne.asp? &'txtTicketN=' rs('txtTicketN')'> Click here to see ticket status</A>"
Everything works but the linked page doesn't get the correct url string.
Can someone help me fix the above?
0
Comment
Question by:Mswetsky
  • 2
4 Comments
 
LVL 9

Expert Comment

by:fuzzboxer
ID: 18857381
Make sure that the page you are linking to has a URL parameter "txtTicketN" and that you are filtering by that field.
0
 
LVL 25

Accepted Solution

by:
kevp75 earned 250 total points
ID: 18857409
change it to:

strBody =  " <A HREF='http://13.121.0.51/PCSupport/ListOne.asp?txtTicketN=" &  rs("txtTicketN") & "'> Click here to see ticket status</A>"
0
 
LVL 1

Author Comment

by:Mswetsky
ID: 18858157
Thanks Kev
0
 
LVL 25

Expert Comment

by:kevp75
ID: 18858439
any time :)
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Powershell Exchange mailboxsizes 3 49
href return to normal window 5 31
Clear input text 15 27
.dn property wont validate - Powershell 2 22
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to count occurrences of each item in an array.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question