You are giving the following message when I click the "send email" button:
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 do not handle much of ASP Clássico
.
The code looks 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