<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% Set rs = Server.CreateObject("ADODB.Recordset") email = Request.Form("email") if request("enviar") = "Enviar" then 'insere o contato nome = replace(trim(request("nome")),"'","") email = replace(trim(email),"'","") cidade = replace(trim(request("cidade")),"'","") estado = request("uf") interesse = request("interesse") fone = replace(trim(request("fone")),"'","") mensagem = replace(trim(request("mensagem")),"'","") sql = "INSERT INTO contato (nome, email, telefone, cidade, uf, codinteresse, mensagem, datahora) VALUES(" sql = sql & "'" & nome &"', " sql = sql & "'" & email &"', " sql = sql & "'" & fone &"', " sql = sql & "'" & cidade &"', " sql = sql & "'" & estado &"', " sql = sql & interesse &", " sql = sql & "'" & mensagem &"', " sql = sql & "'" & now() &"')" on error resume next 'Response.Write(sql) 'response.end conSQL.Execute(sql) if err.number=0 then msg = "" else msg = err.Description end if if msg = "" then 'email para cliente Set objCDOSYSMail = Server.CreateObject("CDO.Message") Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration") objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp2.locaweb.com.br" objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport")= 25 objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 30 objCDOSYSCon.Fields.update Set objCDOSYSMail.Configuration = objCDOSYSCon MsgBody = "" MsgBody = MsgBody & "" MsgBody = MsgBody & "" MsgBody = MsgBody & "" MsgBody = MsgBody & "" MsgBody = MsgBody & "

" MsgBody = MsgBody & "

Mensagem enviada com sucesso.

" MsgBody = MsgBody & "

Breve entraremos em contato.
" MsgBody = MsgBody & "

Acompanhe nossos conteúdos, informações e lançamento de novos cursos em nosso site
www.portaldeauditoria.com.br

" MsgBody = MsgBody & "
" MsgBody = MsgBody & "" 'response.write(MsgBody) objCDOSYSMail.From = "Portal de Auditoria " objCDOSYSMail.To = email objCDOSYSMail.ReplyTo = "francisco@portaldeauditoria.com.br" objCDOSYSMail.Subject = "Portal de Auditoria - Contato" objCDOSYSMail.HtmlBody = MsgBody objCDOSYSMail.Send Set objCDOSYSMail = Nothing Set objCDOSYSCon = Nothing 'envio para administrativo Set objCDOSYSMail = Server.CreateObject("CDO.Message") Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration") objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp2.locaweb.com.br" objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport")= 25 objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 30 objCDOSYSCon.Fields.update Set objCDOSYSMail.Configuration = objCDOSYSCon MsgBody = "" MsgBody = MsgBody & "" MsgBody = MsgBody & "" MsgBody = MsgBody & "" MsgBody = MsgBody & "" MsgBody = MsgBody & "

" MsgBody = MsgBody & "

Nova mensagem recebida - Contato

" MsgBody = MsgBody & "

Data/Hora: "&now()&"
" MsgBody = MsgBody & "

Nome: "&nome&"
" MsgBody = MsgBody & "

Email: "&email&"
" MsgBody = MsgBody & "

Telefone: "&fone&"
" MsgBody = MsgBody & "

Cidade: "&cidade&"
" MsgBody = MsgBody & "

UF: "&estado&"
" MsgBody = MsgBody & "

Mensagem: "&replace(mensagem,chr(10),"
")&"

" MsgBody = MsgBody & "" 'response.write(MsgBody) objCDOSYSMail.From = "Portal de Auditoria " objCDOSYSMail.To = "francisco@portaldeauditoria.com.br" objCDOSYSMail.ReplyTo = "francisco@portaldeauditoria.com.br" objCDOSYSMail.Subject = "Portal de Auditoria - Contato" objCDOSYSMail.HtmlBody = MsgBody objCDOSYSMail.Send Set objCDOSYSMail = Nothing Set objCDOSYSCon = Nothing msg = "Contato enviado com sucesso." email = "" end if end if %> PORTAL DE AUDITORIA RELACIONAMENTO COM O USUÁRIO


ATENDIMENTO PARA OS SITES DO GRUPO MAPH EDITORA

MAPH EDITORA - INFORMAÇÕES TRABALHISTAS E TRIBUTÁRIAS Portal de Auditoria - Cursos e informações de Auditoria

Atendimento integrado Grupo Maph pelo Telefone:

(41) 3272-8507 | (11) 4063-9121 | (21) 4062-7017| (71) 4062-9568 | (51) 4063-8502 | (31) 4062-7641

Plantão: (41) 9826-3302

Atendimento via chat:

Atendimento

Por e-mail:

portaldeauditoria@portaldeauditoria.com.br
cursos@portaldeauditoria.com.br

FORMULÁRIO DE CONTATO

Cadastre-se em nossos informativos, mande-nos suas dúvidas, comentários e sugestões. Ficaremos honrados em atendê-lo.

<%=msg%>
Nome: *
E-mail: *
Cidade: *         Estado: <%sql = ("SELECT uf FROM uf ORDER BY uf") Set rs = conSQL.Execute(sql)%> *
Interesse: <%sql = ("SELECT cod, titulo FROM interesse where ativo=true ORDER BY titulo") set rs = conSQL.Execute(sql)%> *
Telefone: *
Mensagem:
 
  * Campos obrigatórios.
E-mail: portaldeauditoria@portaldeauditoria.com.br

Twitteer: twitter.com/portalauditoria


Atendimento integrado por telefone:

Fone: (41) 3272-8507 | (11) 4063-9121 | (21) 4062-7017| (71) 4062-9568 | (51) 4063-8502 | (31) 4062-7641


<% set conSQL=nothing Set rs = Nothing %>