astrodestino
IS-IT--Management
Hi!
I made a send mail page for the user to contact me, the problem I have is that some characters cannot be seen in outlook.
Characters like this: á é í ñ, etc
I see them in the html but are not displayed, for example, I see: á instead of á
can that be fixed?
This is my code:
I made a send mail page for the user to contact me, the problem I have is that some characters cannot be seen in outlook.
Characters like this: á é í ñ, etc
I see them in the html but are not displayed, for example, I see: á instead of á
can that be fixed?
This is my code:
Code:
<%
msg=msg & "Razon Social: " & request.querystring("razonsocial") & "<br>"
msg=msg & "Nombre: " & request.querystring("nombre") & "<br>"
msg=msg & "Telefono: " & request.querystring("telefono") & "<br>"
msg=msg & "Email: " & request.querystring("email") & "<br>"
msg=msg & "Pais: " & request.querystring("pais") & "<br>"
msg=msg & "Consulta: " & replace(request.querystring("consulta"),vbcrlf,"<br>")
Set MailObj = CreateObject("CDO.Message")
MailObj.From = request.querystring("email")
MailObj.To = "aformanek@grupofn.com"
MailObj.Subject = "Contacto BAInews"
HTML = "<!DOCTYPE HTML PUBLIC""-//IETF//DTD HTML//EN"">"
HTML = HTML & "<html>"
HTML = HTML & "<head>"
HTML = HTML & "<title>Message</title>"
HTML = HTML & "<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>"
HTML = HTML & "</head>"
HTML = HTML & msg
HTML = HTML & "</body>"
HTML = HTML & "</html>"
MailObj.HTMLBody = HTML
''MailObj.TextBody =msg
MailObj.Send
Set MailObj=nothing %>