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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

E-Mail Message With URL

Status
Not open for further replies.
Mar 10, 2005
63
US
Hi, I'm creating an script that grabs form values and emails them. I've got that portion working fine. The issue I'm having is with a link within the email body that has 2 or more variables it's passing. I have a variable holding the body of the email and this is how I have the line with the link:


Code:
"<br><p><a href="" nextID & "&ID=approve"">Click Here To Approve</a></p>" & _
When this is executed the link gets cut short at:


<a href="
it doesn't pass the second variable. any suggestions? thanks.
 
hmm...i am slow today...
oops...i dont know what happened there...

Code:
try this:
"<br><p><a href='[URL unfurl="true"]https://domain/admin/popApprove.asp?popID=<%=nextID%>&ID=approve'>Click[/URL] Here To Approve</a></p>" & _

-DNG
 
Whoops I guess I'm sloppy also... I clipped the apersand "&" before ID.
 
I got it...guess i could pass the entire e-mail body from one page to the next within a variable. Thanks guys.
 
There is a limit to the number of characters you can pass that way and also you need to encode it if contains spaces or other characters that have reserved meaning within a QueryString.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top