Solved

ASP sending mail with link to new page. syntax errors

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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/…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

839 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