Solved

ASP sending mail with link to new page. syntax errors

Posted on 2007-04-05
4
169 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

717 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