Ir para conteúdo
Fórum Script Brasil

Filipe Fagundes

Membros
  • Total de itens

    3
  • Registro em

  • Última visita

Sobre Filipe Fagundes

Contatos

  • Website URL
    http://filipe-fagundes@uol.com.br

Perfil

  • Gender
    Male

Filipe Fagundes's Achievements

0

Reputação

  1. Filipe Fagundes

    Formulário de email

    aeee... Rafael vlw.. então.. eu não sei q diabos o pessoal que enviei o formulario usa, mas lá rodou... eu tava testando aqui no meu pc e tava dando erro, mas lá rodou... vlw ae pela ajuda... na proxima quando for fazer eu começo pelo aspmail, pelo menos ai vou saber minah dúvida... vlw por tudo o/
  2. Filipe Fagundes

    Formulário de email

    Boa tarde Rafael, 1-Eu posso utilizar o aspmail. 2-Tipo de erro: Objeto Server, ASP 0177 (0x800401F3) Seqüência de classe inválida /contatoasp.asp, line 64 Vlw ae pela força
  3. Filipe Fagundes

    Formulário de email

    Opa galera beleza? estou aqui tentando fazer um formulario de envio por email usando asp e está aparecendo um erro em uma linha. Não conheço nada de asp, to meio q aprendendo por tentativa, se alguém poder me ajudar agradeço... segue abaixo os códigos. Contato.asp =========== <% Dim Mailer Dim sucesso If request.form("Enviar") = "sim" then texto_body = "Fale Conosco - Abimaq " texto_body = texto_body & "Data: " & date() & chr(13) texto_body = texto_body & "Nome: " & request.form("nome") & chr(13) texto_body = texto_body & "CNPJ: " & request.form("cnpj") & chr(13) texto_body = texto_body & "Contato: " & request.form("contato") & chr(13) texto_body = texto_body & "Telefone: " & request.form("telefone") & chr(13) texto_body = texto_body & "Fax: " & request.form("fax") & chr(13) texto_body = texto_body & "E-mail: " & request.form("email") & chr(13) texto_body = texto_body & "Site: " & request.form("site") & chr(13) texto_body = texto_body & "Endereço: " & request.form("endereco") & chr(13) texto_body = texto_body & "Cidade: " & request.form("cidade") & chr(13) texto_body = texto_body & "Cep: " & request.form("cep") & chr(13) texto_body = texto_body & "Estado: " & request.form("estado") & chr(13) texto_body = texto_body & "País: " & request.form("pais") & chr(13) texto_body = texto_body & "Ano de Fundação: " & request.form("anofundacao") & chr(13) texto_body = texto_body & "Nº de Empregados: " & request.form("empregados") & chr(13) texto_body = texto_body & "Setores de Atuação: " & request.form("checkbox") & chr(13) texto_body = texto_body & "Descreva em detalhes os produtos oferecidos por sua empresa: " & request.form("produtos") & chr(13) texto_body = texto_body & "Por favor, informe as classifica&ccedil;&otilde;es fiscais (NCM) dos produtos: " & request.form("produtos2") & chr(13) texto_body = texto_body & "Por favor, descreva os compradores potenciais dos seus produtos: " & request.form("produtos3") & chr(13) texto_body = texto_body & "Descreva as vantagens competitivas, as caracter&iacute;sticas mais importantes e &uacute;nicas de seus produtos: " & request.form("produtos4") & chr(13) texto_body = texto_body & "Por favor, descreva poss&iacute;veis nichos de mercado para os seus produtos: " & request.form("produtos5") & chr(13) texto_body = texto_body & "Seu produto tem certificação no Brasil e/ou em outros mercados internacionais?: " & request.form("RadioGroup1") & chr(13) texto_body = texto_body & "Quais?: " & request.form("comentario") & chr(13) texto_body = texto_body & "Tem concorrentes na África do Sul, quem são?: " & request.form("comentario2") & chr(13) texto_body = texto_body & "Tem interesse em encontrar-se com alguma(s) empresa(s) específica na África do Sul?: " & request.form("comentario3") & chr(13) texto_body = texto_body & "O que busca na África do Sul?: " & request.form("RadioGroup2") & chr(13) texto_body = texto_body & "Qual?: " & request.form("comentario4") & chr(13) texto_body = texto_body & "Observações: " & request.form("observacoes") & chr(13) Set Mailer = Server.CreateObject("Persits.MailSender") Mailer.AddAddress Request.Form("destinatario") Mailer.AddBCC "filipe@pentagonopublicidade.com.br" Mailer.FromName = Request.Form("nome") Mailer.From = request.Form("email") Mailer.Host = "smtp.pentagonopublicidade.com.br" Mailer.Subject = "Formulário - África do Sul" Mailer.Body = texto_body sucesso = Mailer.Send If sucesso then response.clear response.redirect("http://www.pentagonopublicidade.com.br") else Response.write ("O E-MAIL NÃO FOI ENVIADO COM SUCESSO!") End if End If %> ============== teste.html ============== <html> <head> <title>Fale Conosco- Tecnologia da Informação</title> <meta http-equiv="Content-Type" content="text/html;"> <style TYPE="text/css"> <!-- A:link {text-decoration: none; font-weight:regular; color:#333333; } A:visited {text-decoration: none; font-weight:regular; color:#333333; } A:active {text-decoration: none; color: #333333; } A:hover {color: #000066; } A.ff {text-decoration: none; color: #333333; } A.ff:visited {text-decoration: none; color: #333333; } A.ff:hover {text-decoration: none; color:#000066; } A:ff.active {text-decoration: none; color: #333333; } --> </style> <META HTTP-EQUIV="Content-Language" CONTENT="en-us"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252"> <META NAME="GENERATOR" CONTENT="Microsoft FrontPage 4.0"> <META NAME="ProgId" CONTENT="FrontPage.Editor.Document"> <TITLE>Fale Conosco</TITLE> <BASE TARGET="_self"> <style TYPE="text/css"> <!-- A:link {text-decoration: none; font-weight:regular; color:#333333; } A:visited {text-decoration: none; font-weight:regular; color:#333333; } A:active {text-decoration: none; color: #333333; } A:hover {color: #000066; } A.ff {text-decoration: none; color: #333333; } A.ff:visited {text-decoration: none; color: #333333; } A.ff:hover {text-decoration: none; color:#000066; } A:ff.active {text-decoration: none; color: #333333; } .style2 {color: #6D839B; font-weight: bold; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } .style20 { color: #000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; padding:0px 20px 0px 20px; font-weight:bold; background-color: #B8D3D0; } .style21 { color: #000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background-color: #D2DFDE; } table.style22 { color: #000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; padding:0px 20px 0px 20px; font-weight:bold; background-color: #D2DFDE; } .style25 {font-weight: bold} .style24 { color: #000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; padding:20px; font-weight:bold; background-color: #D2DFDE;} .style90 { color: #000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; padding:0 20px 10px 20px; font-weight:bold; background-color: #D2DFDE;} --> </style> </head> <body> <DIV ALIGN="left"> <div align="center"> <table width="329" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#B5D7D8" style="border: solid 1px #FFFFCC" dwcopytype="CopyTableCell"> <tr> <td width="341" colspan="3" valign="top" bordercolor="#A0C8C8" bgcolor="#B8D3D0"> <form method="POST" action="contatoasp.asp" name="FrontPage_Form1_onsubmit()"> <input type="hidden" name="destinatario" value="filipe@pentagonopublicidade.com.br"> <br> <table border="0" cellpadding="0" cellspacing="0" width="450" align="center" bordercolorlight="#FFFFCC" class="style20"> <tr> <td class="style20"><div align="center" class="style24"><strong> Rodada de Neg&oacute;cios Brasil - &Aacute;frica do Sul<br> Johannesburgo<br> 29 e 30 de outubro de 2008 </strong></div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><strong> <br> 1-Informa&ccedil;&otilde;es da Empresa (vendedora)</strong></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div id="campos"> <table width="420" border="0" align="center" class="style22"> <tr> <td width="110"><div align="right">Nome:</div></td> <td width="200"><label> <input name="nome" type="text" id="nome" size="30" maxlength="50"> </label></td> </tr> <tr> <td width="110"><div align="right">CNPJ:</div></td> <td width="200"><input name="cnpj" type="text" id="cnpj" size="20" maxlength="20"></td> </tr> <tr> <td width="110"><div align="right">Contato:</div></td> <td width="200"><input name="contato" type="text" id="contato" size="20" maxlength="30"></td> </tr> <tr> <td width="110"><div align="right">Telefone:</div></td> <td width="200"><input name="telefone" type="text" id="telefone" size="9" maxlength="9"></td> </tr> <tr> <td width="110"><div align="right">Fax:</div></td> <td width="200"><input name="fax" type="text" id="fax" size="9" maxlength="9"></td> </tr> <tr> <td width="110"><div align="right">E-mail:</div></td> <td width="200"><input name="email" type="text" id="email" size="30" maxlength="50"></td> </tr> <tr> <td width="110"><div align="right">Site:</div></td> <td width="200"><input name="site" type="text" id="site" size="30" maxlength="50"></td> </tr> <tr> <td width="110"><div align="right">Endere&ccedil;o:</div></td> <td width="200"><input name="endereco" type="text" id="endereco" size="30" maxlength="30"></td> </tr> <tr> <td width="110"><div align="right">Cidade:</div></td> <td width="200"><input name="cidade" type="text" id="cidade" size="20" maxlength="20"></td> </tr> <tr> <td width="110"><div align="right">Cep:</div></td> <td width="200"><input name="cep" type="text" id="cep" size="10" maxlength="10"></td> </tr> <tr> <td width="110"><div align="right">Estado:</div></td> <td width="200"><input name="estado" type="text" id="estado" size="20" maxlength="20"></td> </tr> <tr> <td width="110"><div align="right">Pa&iacute;s:</div></td> <td width="200"><input name="pais" type="text" id="pais" size="20" maxlength="20"></td> </tr> <tr> <td width="110"><div align="right">Ano de Funda&ccedil;&atilde;o:</div></td> <td width="200"><input name="anofundacao" type="text" id="anofundacao" size="10"></td> </tr> <tr> <td width="110"><div align="right">N&ordm; de Empregados</div></td> <td width="200"><input name="empregados" type="text" id="empregados" size="20" maxlength="20"></td> </tr> </table> </div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div id="campos2"> <p> <label></label> <label></label> </p> <table width="420" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#B0BDBB" class="style21"> <tr> <td colspan="3"><strong><br> Setores de Atua&ccedil;&atilde;o:</strong><br> <br></td> </tr> <tr> <td width="33%"><label> <input name="checkbox" type="checkbox" id="checkbox" value="Aliment&iacute;cia"> Aliment&iacute;cia </label></td> <td width="34%"><input name="checkbox" type="checkbox" id="checkbox" value="Ferramentaria"> Ferramentaria</td> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Movimenta&ccedil;&atilde;o Armazenamento"> Movimenta&ccedil;&atilde;o <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Armazenamento</td> </tr> <tr> <td width="33%"><label> <input name="checkbox" type="checkbox" id="checkbox" value="Ar Comprimido"> Ar Comprimido</label></td> <td width="34%"><input name="checkbox" type="checkbox" id="checkbox" value="Fornos"> Fornos</td> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Pl&aacute;sticos"> &nbsp;Pl&aacute;sticos</td> </tr> <tr> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Bombas"> Bombas</td> <td width="34%"><input name="checkbox" type="checkbox" id="checkbox" value="Fundi&ccedil;&atilde;o"> Fundi&ccedil;&atilde;o&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Refrigera&ccedil;&atilde;o Industrial"> Refrigera&ccedil;&atilde;o <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Industrial </td> </tr> <tr> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Celulosa"> Celulosa</td> <td width="34%"><input name="checkbox" type="checkbox" id="checkbox" value="Gr&aacute;fico"> Gr&aacute;fico</td> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Saneamento B&aacute;sico"> Saneamento B&aacute;sico</td> </tr> <tr> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Cer&acirc;mica"> Cer&acirc;mica&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td> <td width="34%"><input name="checkbox" type="checkbox" id="checkbox" value="Hidr&aacute;ulicos"> Hidr&aacute;ulicos </td> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="T&ecirc;xteis"> T&ecirc;xteis</td> </tr> <tr> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Constru&ccedil;&atilde;o Civil"> Constru&ccedil;&atilde;o Civil&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td> <td width="34%"><input name="checkbox" type="checkbox" id="checkbox" value="Limpeza"> Limpeza</td> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Transmiss&atilde;o Mec&acirc;nica"> Transmiss&atilde;o <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mec&acirc;nica</td> </tr> <tr> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Controle de Qualidade"> Controle de <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Qualidade</td> <td width="34%"><input name="checkbox" type="checkbox" id="checkbox" value="Madeira"> Madeira</td> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="V&aacute;lvulas"> V&aacute;lvulas</td> </tr> <tr> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Couro"> Couro</td> <td width="34%"><input name="checkbox" type="checkbox" id="checkbox" value="M&aacute;quinas Agr&iacute;colas"> M&aacute;quinas Agr&iacute;colas</td> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Equipamentos de Irriga&ccedil;&atilde;o"> Equipamentos de <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Irriga&ccedil;&atilde;o </td> </tr> <tr> <td width="33%"><input name="checkbox" type="checkbox" id="checkbox" value="Embalagem"> Embalagem</td> <td width="34%"><input name="checkbox" type="checkbox" id="checkbox" value="Maq. Ferramenta"> Maq. Ferramenta</td> <td width="33%">&nbsp;</td> </tr> <tr> <td><input name="checkbox3" type="checkbox" id="checkbox3" value="Equipamentos Pesados"> Equipamentos <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pesados </td> <td><input name="checkbox2" type="checkbox" id="checkbox2" value="Minera&ccedil;&atilde;o"> Minera&ccedil;&atilde;o</td> <td>&nbsp;</td> </tr> <tr> <td colspan="3"><label> <div align="center">Outros. quais? <br> <textarea name="chktext" id="chktext" cols="45" rows="5"></textarea> <br> <br> </div> </label></td> </tr> </table> </div></td> </tr> <tr> <td height="40">&nbsp;</td> </tr> <tr> <td><p><strong>2-Informa&ccedil;&otilde;es de Produtos e Mercados</strong></p></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center"> <textarea name="produtos" id="produtos" cols="45" rows="5">Descreva em detalhes os produtos oferecidos por sua empresa:</textarea> </div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center"> <textarea name="produtos2" id="produtos2" cols="45" rows="5">Por favor, informe as classifica&ccedil;&otilde;es fiscais (NCM) dos produtos:</textarea> </div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center"> <textarea name="produtos3" id="produtos3" cols="45" rows="5">Por favor, descreva os compradores potenciais dos seus produtos:</textarea> </div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center"> <textarea name="produtos4" id="produtos4" cols="45" rows="5">Descreva as vantagens competitivas, as caracter&iacute;sticas mais importantes e &uacute;nicas de seus produtos:</textarea> </div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center"> <textarea name="produtos5" id="produtos5" cols="45" rows="5">Por favor, descreva poss&iacute;veis nichos de mercado para os seus produtos:</textarea> </div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center" class="style90"> <div align="left"> <br> <label></label> Seu produto tem certifica&ccedil;&atilde;o no Brasil e/ou em outros mercados internacionais? </p> <label> <br> <input type="radio" name="RadioGroup1" value="não" id="RadioGroup1_0"> N&atilde;o</label> <br> <label> <input type="radio" name="RadioGroup1" value="sim" id="RadioGroup1_1"> Sim, quais...<br> </label> <label> <textarea name="comentario" id="comentario" cols="44" rows="5"></textarea> </label> </div> </div> <div align="left"></div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center" class="style90"> <div align="left"> <br> <label></label> Tem concorrentes na &Aacute;frica do Sul, quem s&atilde;o?<br> <label><br> </label> <label> <textarea name="comentario2" id="comentario2" cols="44" rows="5"></textarea> </label> </div> </div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center" class="style90"> <div align="left"> <br> <label></label> Tem interesse em encontrar-se com alguma(s) empresa(s) espec&iacute;fica na &Aacute;frica do Sul?<br> <label><br> </label> <label> <textarea name="comentario3" id="comentario3" cols="44" rows="5"></textarea> </label> </div> </div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center" class="style90"> <div align="left"> <br> O que busca na &Aacute;frica do Sul?<br> <br> <label> <input type="radio" name="RadioGroup2" value="Distribuidor" id="RadioGroup2_0"> Distribuidor</label> <br> <label> <input type="radio" name="RadioGroup2" value="Representante" id="RadioGroup2_1"> Representante</label> <br> <label> <input type="radio" name="RadioGroup2" value="Produtor " id="RadioGroup2_2"> Produtor </label> <br> <label> <input type="radio" name="RadioGroup2" value="Joint Venture" id="RadioGroup2_3"> Joint Venture</label> <br> <label> <input type="radio" name="RadioGroup2" value="Importador " id="RadioGroup2_4"> Importador </label> <br> <label> <input type="radio" name="RadioGroup2" value="Outro" id="RadioGroup2_5"> Outro. Qual?</label> <br> <br> <label></label> <label> <textarea name="comentario4" id="comentario4" cols="44" rows="5"></textarea> </label> </div> </div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td><div align="center" class="style90"> <div align="left"> <br> Observa&ccedil;&otilde;es:<br> <br> <label></label> <label> <textarea name="observacoes" id="observacoes" cols="44" rows="5"></textarea> </label> </div> </div></td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td width="500"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="formt" width="27%"><div align="center"><font face="Arial" size="2"> <input name="B1" type="submit" class="style2" value="Enviar" > <input name="B2" type="reset" class="style2" value="Limpa"> <input type="hidden" name="Enviar" value="sim"> </font></div></td> </tr> </table></td> </tr> </table></td> </tr> </table> </form></td> </tr> <tr> <td width="341" bordercolor="#A0C8C8" bgcolor="#B8D3D0">&nbsp;</td> </tr> </table> <br> </div> </DIV> </body> </html> ==================== vlw galera... o site ta meio q na base da gambiarra porque como não sei asp peguei um formulario pronto aqui e como estou com pressa não alterei a estrutura do codigo.... então não chinguem muito XD... vlw
×
×
  • Criar Novo...