Solved

ASP sending mail with link to new page. syntax errors

Posted on 2007-04-05
4
161 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
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.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now