1
You are giving the following message when I click on the "send email":
006~ASP 0173~Invalid Path Character~An invalid Character was specified in the Path Parameter for the Mappath method.
How do I solve this problem ?
I don’t know much about ASP Clássico
.
The code is like this:
ind = ind & "<span><b><a href='" & vStrParametro7 & "/Busca/" & rsQuery("ID_CURSO") & "/" & Server.UrlEncode(TirarAcento(rsQuery("DESCR"))) & "' target='blank'>" & rsQuery("SIGLA") & " - " & rsQuery("DESCR") & "</a></b><span>"
If fso.FileExists(Server.MapPath("/" & Application("pathAdm") & "/" & vStrParametro6 & "/cursos/" & vStrPDF2(z))) Then
objCDOSYSMail.AddAttachment(Server.MapPath("/" & Application("pathAdm") & "/" & vStrParametro6 & "/cursos/" & vStrPDF2(z)))
End If
Do a test. Use backslash
"\"
instead of"/"
.– MarceloBarbosa