Ir para conteúdo
Fórum CódigoFonte.net

stallivieri

Membros
  • Total de itens

    1
  • Registro em

  • Última visita

  1. stallivieri

    Erro em Formulário

    Olá a todos. Tenho um formulário em asp e o mesmo funcionava beleza até eu tentar inserir formatação html. Por favor me ajudem não sei o que estou fazendo errado. segue o código abaixo: <% 'If Request.Form("enviado") Then Dim oMail 'procedimentos para envio sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = Server.CreateObject("CDO.Configuration") cdoConfig.Fields.Item(sch & "sendusing") = 2 cdoConfig.Fields.Item(sch & "smtpserver") = "10.1.1.10" cdoConfig.fields.update Set cdoMessage = Server.CreateObject("CDO.Message") Set cdoMessage.Configuration = cdoConfig cdoMessage.From = request("email") cdoMessage.To = "[email protected]" 'cdoMessage.cc = "[email protected]" cdoMessage.Subject = "Trabalhe Conosco" temp = "<style type=""text/css""> .fonte { font-family: ""Trebuchet MS"", Arial, Helvetica, sans-serif; } .tamanho { font-size: 16px; } .tamanho .fonte strong { color: #069; } </style> <table width=""50%"" border=""0""> <tr> <td width=""29%"" class=""tamanho""><span class=""fonte""><strong>Dados Pessoais</strong></span></td> <td width=""26%"">&nbsp;</td> <td width=""45%"">&nbsp;</td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte"">Nome</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("nome") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte"">Data de Nascimento</span></h5></td> <td><h5><span class=""fonte"">"& request("nascimento") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Sexo</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("sexo") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Estado Civil</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("estcivil") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Endereço</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("endereco") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Bairro</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("bairro") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Cidade</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("bairro") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Estado</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("estado") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>CEP</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("cep") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Telefone p/ Contato</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("telefone") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Telefone Alternativo</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("telefone1") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>E-mail</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("email") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho""><span class=""fonte""><strong>Objetivo</strong></span></td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Cargo Desejado</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("cargo") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Jornada</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("jornada") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Área de Atuação</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("atuacao") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho""><span class=""fonte""><strong>Formação</strong></span></td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Escolaridade</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("escolaridade") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Curso</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("curso") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho""><span class=""fonte""><strong>Idiomas</strong></span></td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Idioma 1</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("idioma") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Nível</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("idioma1") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Idioma 2</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("idioma3") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Nível</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("idioma4") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho""><span class=""fonte""><strong>Cursos</strong></span></td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Cursos Realizados</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("cursos") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td class=""tamanho""><span class=""fonte""><strong><font face=""Trebuchet MS, Arial, Helvetica, sans-serif"">Dados Complementares</font></strong></span></td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Disponibilidade para viajar?</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("viagem") & LF & _"</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Salário Pretendido</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("salario") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho""><span class=""fonte""><strong>Experiência Profissional</strong></span></td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Última Empresa</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("empresa1") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Cargo</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("cargo1") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Período</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("periodo1") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Penultima Empresa</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("empresa2") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Cargo</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("cargo2") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Período</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("periodo2") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Antepenultima Empresa</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("empresa3") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Cargo</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("cargo3") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Período:</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("periodo3") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho""><span class=""fonte""><strong>Qualificações</strong></span></td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Qualificações</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("qualificacoes") & LF & _"</span></h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho""><span class=""fonte""><strong>Observações</strong></span></td> <td><h5>&nbsp;</h5></td> <td><h5>&nbsp;</h5></td> </tr> <tr> <td class=""tamanho"">&nbsp;</td> <td><h5><span class=""fonte""><strong>Observações</strong></span></h5></td> <td><h5><span class=""fonte"">"& request("observacoes") & LF & _"</span></h5></td> </tr> </table>" cdoMessage.HTMLBody = temp cdoMessage.Send Set cdoMessage = Nothing Set cdoConfig = Nothing %> <script language="JavaScript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script> <script language="JavaScript"> <!-- function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args+".location='"+args[i+1]+"'"); } //--> </script> <script type="text/javascript"> <!-- // function handleError() { return true; } window.onerror = handleError; //--> </script> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-2285354-1"; urchinTracker(); </script> <body onLoad="MM_openBrWindow('cadastrook2.asp','','width=200,height=250');MM_goToURL('parent','index.asp');return document.MM_returnValue"> </body>
×
×
  • Criar Novo...