|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hello everyone,
i get excel values from over 3000 records and i send a mail to each contact with the email id, which is also a field in the excel. i have all the values i got from excel in some temporary variables and i want to send these values dynamically to each contact depen-ding on the mail id. my approach is , i'm sending a mail to that particular contact with a hyperlink in the body of the mail and this is going to redirect him to another webpage where he sees all his information. can someone tell me how to send multiple values in a hyperlink?? i tried some ways, but it just does'nt work out. thanks in advance.. ck |
|
#2
|
||||
|
||||
|
Quote:
try use querystring. it will look somethig like this http://www.website.com/email_page.asp?mailID=value |
|
#3
|
|||
|
|||
|
hi!!
hi
thanks for that !! i'm doing something like this. i'm writing this into a html file from a vb program and i later send the html file in the body of the mail. when the user clicks the link it should redirect him to the webpage showing him all the information. in the code below , fname, lname ... are the variables with values from the excel file. this code actually writes down the link in the body of the mail ,but, it doesnt pass the values to the HTML page. could someone throw some light into this?? Dim ofile As String ofile = "c:\outtext.html" Dim ts As TextStream Dim outfile As File Dim strbody As String Set outfile = oFSO.GetFile(ofile) Set ts = outfile.OpenAsTextStream(ForWriting) ts.WriteLine ("<html><body>") ts.WriteLine ("<a href=""C:\Documents and Settings\sadmin\Desktop\mailform.html?firstname=fn ame&lastname=lname">my Info</a>") ts.WriteLine ("</html></body>") Call writetotempfile(outfile, CStr(email)) ts.Close End Sub |
|
#4
|
||||
|
||||
|
Quote:
when you create email does it writes values here mailform.html?firstname=fname&lastname=lname?? |
|
#5
|
|||
|
|||
|
hi
in the mail i'm just showing a hyperlink, but in the hyperlink i should pass all the contact information.
all these values are passed on to another HTML page and should be displayed in the respective text fields. thanks |
|
#6
|
||||
|
||||
|
yeah that's what you need to do.
also try pass values to asp page not to HTML ts.WriteLine ("<a href=""C:\Documents and Settings\sadmin\Desktop\mailform.asp?firstname=" & fname &"&lastname=&" lname &"">my Info</a>"") in you redirect page it should looks like this: Code:
<% response.redirect "viewdata.asp?mailID=" & value &"" %> |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > sending multiple values in hyperlink |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|