T
Tom Petersen
I am using ASP to send the user an email with a clickable link that will
point back to the record id but I've got one line getting an expected end of
statement that I can't figure out...
& "<p><font face=""Verdana"" size=""2""><a
href=""http://sd-school/maint/maint.asp?action=edit&id=<%= objRS(""id"")
%>"">Click here to check the status of this request." & vbCrLf _
ideally I would just like the word 'here' to be the hyperlink, but first
things first...
Here is the whole mess, everything works great except for the above line,
because I can't figure out the right syntax...
emailBody = "<html>" & vbCrLf _
& "<head>" & vbCrLf _
& "<title>New Page 3</title> " & vbCrLf _
& "</head> " & vbCrLf _
& "<body> " & vbCrLf _
& "<div align=""center""> " & vbCrLf _
& "<table border=""0"" style=""border-collapse: collapse""
width=""64%"" id=""table1""> " & vbCrLf _
& " <tr> " & vbCrLf _
& "<td width=""4"" style=""border-left: 2px solid #3399FF;
border-top: 2px solid #3399FF""></td> " & vbCrLf _
& "<td width=""484"" style=""border-top:2px solid #3399FF;
border-left-width:1px; border-right-width:1px; border-bottom-width:1px""> "
& vbCrLf _
& "<p align=""center""> " & vbCrLf _
& "<img border=""0"" src=""http://sd-school/pic/sdsd.h1.gif""
width=""476"" height=""92""></td> " & vbCrLf _
& "<td width=""4"" style=""border-right:2px solid #3399FF;
border-top:2px solid #3399FF;"" ></td> " & vbCrLf _
& "</tr> " & vbCrLf _
& "<tr> " & vbCrLf _
& "<td width=""4"" style=""border-left: 2px solid #3399FF""></td> "
& vbCrLf _
& "<td width=""484""> " & vbCrLf _
& "<p align=""center""><span style=""letter-spacing: 2pt""><b> " &
vbCrLf _
& "<font face=Verdana>Maintenance Confirmation
Page</font></b></span></td> " & vbCrLf _
& "<td width=""4"" style=""border-right: 2px solid #3399FF""></td> "
& vbCrLf _
& "</tr> " & vbCrLf _
& "<tr> " & vbCrLf _
& "<td width=""4"" style=""border-left: 2px solid #3399FF;
border-bottom: 2px solid #3399FF""></td> " & vbCrLf _
& "<td width=""484"" style=""border-right-width: medium;
border-bottom: 2px solid #3399FF""> " & vbCrLf _
& "<hr noshade color=""#3399FF""> " & vbCrLf _
& "<p><font face=""Verdana"" size=""2""><a
href=""http://sd-school/maint/maint.asp?action=edit&id=<%= objRS(""id"")
%>"">Click here to check the status of this request." & vbCrLf _
& "Or click here to see all of your requests.<br> " & vbCrLf _
& " </font></td> " & vbCrLf _
& "<td width=""4"" style=""border-left-width: medium; border-right:
2px solid #3399FF; border-bottom: 2px solid #3399FF""></td> " & vbCrLf _
& "</tr> " & vbCrLf _
& "</table> " & vbCrLf _
& "</div> " & vbCrLf _
& "</body> " & vbCrLf _
& "</html> " & vbCrLf
TIA!
Tom
point back to the record id but I've got one line getting an expected end of
statement that I can't figure out...
& "<p><font face=""Verdana"" size=""2""><a
href=""http://sd-school/maint/maint.asp?action=edit&id=<%= objRS(""id"")
%>"">Click here to check the status of this request." & vbCrLf _
ideally I would just like the word 'here' to be the hyperlink, but first
things first...
Here is the whole mess, everything works great except for the above line,
because I can't figure out the right syntax...
emailBody = "<html>" & vbCrLf _
& "<head>" & vbCrLf _
& "<title>New Page 3</title> " & vbCrLf _
& "</head> " & vbCrLf _
& "<body> " & vbCrLf _
& "<div align=""center""> " & vbCrLf _
& "<table border=""0"" style=""border-collapse: collapse""
width=""64%"" id=""table1""> " & vbCrLf _
& " <tr> " & vbCrLf _
& "<td width=""4"" style=""border-left: 2px solid #3399FF;
border-top: 2px solid #3399FF""></td> " & vbCrLf _
& "<td width=""484"" style=""border-top:2px solid #3399FF;
border-left-width:1px; border-right-width:1px; border-bottom-width:1px""> "
& vbCrLf _
& "<p align=""center""> " & vbCrLf _
& "<img border=""0"" src=""http://sd-school/pic/sdsd.h1.gif""
width=""476"" height=""92""></td> " & vbCrLf _
& "<td width=""4"" style=""border-right:2px solid #3399FF;
border-top:2px solid #3399FF;"" ></td> " & vbCrLf _
& "</tr> " & vbCrLf _
& "<tr> " & vbCrLf _
& "<td width=""4"" style=""border-left: 2px solid #3399FF""></td> "
& vbCrLf _
& "<td width=""484""> " & vbCrLf _
& "<p align=""center""><span style=""letter-spacing: 2pt""><b> " &
vbCrLf _
& "<font face=Verdana>Maintenance Confirmation
Page</font></b></span></td> " & vbCrLf _
& "<td width=""4"" style=""border-right: 2px solid #3399FF""></td> "
& vbCrLf _
& "</tr> " & vbCrLf _
& "<tr> " & vbCrLf _
& "<td width=""4"" style=""border-left: 2px solid #3399FF;
border-bottom: 2px solid #3399FF""></td> " & vbCrLf _
& "<td width=""484"" style=""border-right-width: medium;
border-bottom: 2px solid #3399FF""> " & vbCrLf _
& "<hr noshade color=""#3399FF""> " & vbCrLf _
& "<p><font face=""Verdana"" size=""2""><a
href=""http://sd-school/maint/maint.asp?action=edit&id=<%= objRS(""id"")
%>"">Click here to check the status of this request." & vbCrLf _
& "Or click here to see all of your requests.<br> " & vbCrLf _
& " </font></td> " & vbCrLf _
& "<td width=""4"" style=""border-left-width: medium; border-right:
2px solid #3399FF; border-bottom: 2px solid #3399FF""></td> " & vbCrLf _
& "</tr> " & vbCrLf _
& "</table> " & vbCrLf _
& "</div> " & vbCrLf _
& "</body> " & vbCrLf _
& "</html> " & vbCrLf
TIA!
Tom