Amigos ...Alguém me ajuda por favor!!!! :unsure: !!! Sou estagiário na minha empresa!! e tenho que incluir um formulário...só que estou tenho problemas na hora de enviar os dados do formulario !!!!!!!
AMIGOS TENHAM PACIENCIA E ME AJUDEM!!!!! SOU APENAS UM NOVATO EM PROCURA DE AJUDA!!!! NÃO ME DEIXEM NA MÃO!!! PLEASE!!! UM DIA vocês VETERANOS OU CONHECIDOS DA ARTE JÁ PRECISARAM DE AJUDA!!!! PENSEM NISSO!!! POR FAVOR!!!! :rolleyes:
Pergunta
Guest Bruno Santana
Amigos ...Alguém me ajuda por favor!!!! :unsure: !!! Sou estagiário na minha empresa!! e tenho que incluir um formulário...só que estou tenho problemas na hora de enviar os dados do formulario !!!!!!!
AMIGOS TENHAM PACIENCIA E ME AJUDEM!!!!! SOU APENAS UM NOVATO EM PROCURA DE AJUDA!!!! NÃO ME DEIXEM NA MÃO!!! PLEASE!!! UM DIA vocês VETERANOS OU CONHECIDOS DA ARTE JÁ PRECISARAM DE AJUDA!!!! PENSEM NISSO!!! POR FAVOR!!!! :rolleyes:
ME AJUDEM!!!! :D
<% Set Mailer = Server.CreateObject("SMTPsvg.Mailer") Mailer.RemoteHost = "mail.minhaempresa.com.br" Mailer.FromSolicitante = request.form("Solicitante") Mailer.FromEmpresa = request.form("Empresa") Mailer.FromEndereco = request.form("Endereco") Mailer.FromBairro = request.form("Bairro") Mailer.FromCidade = request.form("Cidade") Mailer.FromTelefone = request.form("Telefone") Mailer.FromCelular = request.form("Celular") Mailer.FromEmail = request.form("Email") Mailer.FromTipo_Solicitacao = request.form("Tipo_Solicitacao") Mailer.FromData_Hora_Agendamento = request.form("Data_Hora_Agendamento") Mailer.FromProblema_Cotacao = request.form("Problema_Cotacao") Mailer.AddRecipient "Chamado_Online" , "MINHAEMPRESA@MINHAEMPRESA.com.br" Mailer.Subject = "Solicitação via Site" Mailer.BodyText = "Solicitante: " & request.form("Solicitante") & vbcrlf Mailer.BodyText = "Empresa: " & request.form("Empresa") & vbcrlf Mailer.BodyText = "Endereço: " & request.form("Endereco") & vbcrlf Mailer.BodyText = "Bairro: " & request.form("Bairro") & vbcrlf Mailer.BodyText = "Cidade: " & request.form("Cidade") & vbcrlf Mailer.BodyText = "Telefone: " & request.form("Telefone") & vbcrlf Mailer.BodyText = "Celular: " & request.form("Celular") & vbcrlf Mailer.BodyText = "Email: " & request.form("Email") & vbcrlf Mailer.BodyText = "Tipo_Solicitacao: " & request.form("Tipo_Solicitacao") & vbcrlf Mailer.BodyText = "Problema_Cotacao: " & request.form("Problema_Cotacao") & vbcrlf Mailer.BodyText = "Data_Hora_Agendamento :" & request.form("Data_Hora_Agendamento") & vbcrlf if Mailer.SendMail then Response.redirect "ok.htm" else Response.Write mailer.response end if %>este é meu arqui em ASPmail que se chama ==>> enviaemail.asp e meu formulário é assim!!!! eu fiz no front page!!!!!!!!!!!!!!<html> <head> <meta http-equiv="Content-Language" content="pt-br"> <title>Chamado_Online</title> </head> <body> <form method="POST" action="enviaemail.asp"> <table cellSpacing="0" cellPadding="2" border="0" widht="100%" width="609" align="left" height="259"> <tr> <td vAlign="top" width="337" height="19" colspan="2" bgcolor="#008080" align="center"> <b><font face="Arial">DADOS PARA CADASTRO</font></b></td> <td vAlign="top" width="124" height="19" bgcolor="#008080" align="center"> </td> <td vAlign="top" width="464" height="19" bgcolor="#008080" align="center"> <p align="left"><b><font face="Arial">DADOS DA SOLICITAÇÃO</font></b></p> </td> </tr> <tr> <td vAlign="top" width="337" height="16" colspan="2" bgcolor="#008080"> <font face="Arial" size="2"><b>Solicitante</b></font></td> <td vAlign="top" width="124" height="16" bgcolor="#008080"></td> <td vAlign="top" width="464" height="16" bgcolor="#008080"><b> <font face="Arial" size="2">Tipo de Solicitação</font></b></td> </tr> <tr bgColor="#ffffff"> <td vAlign="top" width="337" height="22" colspan="2" bgcolor="#008080"> <font face="Arial" size="2" color="#000000"> <input size="55" name="Solicitante" MAXLENGHT="50" tabindex="1"></font></td> <td vAlign="top" width="124" height="22" bgcolor="#008080"></td> <td vAlign="top" width="464" height="22" bgcolor="#008080"> <select size="1" name="Tipo_Solicitacao" tabindex="9"> <option selected>Selecione</option> <option>Contrato (Empresa)</option> <option>Chamado Avulso (Empresa)</option> <option>Chamado Avulso</option> <option>Cotação (Computador)</option> <option>Cotação (Periféricos)</option> </select></td> </tr> <tr> <td vAlign="top" width="337" height="16" colspan="2" bgcolor="#008080"><b> <font face="Arial" size="2">Empresa</font></b></td> <td vAlign="top" width="124" height="16" bgcolor="#008080"></td> <td vAlign="top" width="464" height="16" bgcolor="#008080"><b> <font face="Arial" size="2">Data e Hora do Agendamento </font></b></td> </tr> <tr> <td vAlign="top" width="337" colspan="2" height="22" bgcolor="#008080"> <font face="Arial" size="2" color="#000000"> <input size="55" name="Empresa" MAXLENGHT="50" tabindex="2"></font></td> <td vAlign="top" width="124" height="22" bgcolor="#008080"> </td> <td vAlign="top" width="464" height="22" bgcolor="#008080"> <input type="radio" value="Opcional" checked name="Data_Hora_Agendamento" tabindex="10"><b><font face="Arial" size="2"> Opcional</font></b></td> </tr> <tr> <td vAlign="top" width="337" colspan="2" height="20" bgcolor="#008080"><b> <font face="Arial" size="2">Endereço</font></b></td> <td vAlign="top" width="124" height="20" bgcolor="#008080"></td> <td vAlign="top" width="464" height="20" bgcolor="#008080"> <font face="Arial" size="2"> <b><input type="radio" name="Data_Hora_Agendamento" value="Outra"> Outra</b></font></td> </tr> <tr> <td vAlign="top" width="337" colspan="2" height="24" bgcolor="#008080"> <font face="Arial" size="2" color="#000000"> <input size="55" name="Endereco" MAXLENGHT="50" tabindex="3"></font></td> <td vAlign="top" width="124" height="24" bgcolor="#008080"> </td> <td vAlign="top" width="464" height="24" bgcolor="#008080"> </td> </tr> <tr> <td vAlign="top" width="1" height="16" bgcolor="#008080"> <font face="Arial" size="2"><b>Bairro</b></font></td> <td vAlign="top" width="376" height="16" bgcolor="#008080"><b> <font face="Arial" size="2">Cidade</font></b></td> <td vAlign="top" width="120" height="16" bgcolor="#008080"></td> <td vAlign="top" width="372" height="16" bgcolor="#008080"><b> <font face="Arial" size="2">Resumo do Problema/Cotação</font></b></td> </tr> <tr> <td vAlign="top" width="1" height="27" bgcolor="#008080"> <font face="Arial" size="2" color="#000000"> <input size="25" name="Bairro" MAXLENGHT="50" tabindex="4"></font></td> <td vAlign="top" width="376" height="27" bgcolor="#008080"> <font face="Arial" size="2" color="#000000"> <input size="25" name="Cidade" MAXLENGHT="50" tabindex="5"></font></td> <td vAlign="top" width="120" height="27" bgcolor="#008080"> </td> <td vAlign="top" width="372" height="132" rowspan="5" bgcolor="#008080"> <font face="Arial" size="2" color="#000000"> <textarea name="Problema_Cotacao" rows="8" wrap="hard" cols="22" MAXLENGHT="256" SIZE="256" tabindex="12"></textarea></font></td> </tr> <tr> <td vAlign="top" width="1" height="18" bgcolor="#008080"><b> <font face="Arial" size="2">Telefone</font></b></td> <td vAlign="top" width="376" height="18" bgcolor="#008080"><b> <font face="Arial" size="2">Celular</font></b></td> <td vAlign="top" width="120" height="18" bgcolor="#008080"></td> </tr> <tr> <td vAlign="top" width="1" height="27" bgcolor="#008080"> <font face="Arial" size="2" color="#000000"> <input size="25" name="Telefone" MAXLENGHT="50" tabindex="6" maxlength="15"></font></td> <td vAlign="top" width="376" height="27" bgcolor="#008080"> <font face="Arial" size="2" color="#000000"> <input size="25" name="Celular" MAXLENGHT="50" tabindex="7"></font></td> <td vAlign="top" width="120" height="27" bgcolor="#008080"> </td> </tr> <tr> <td vAlign="top" width="337" colspan="2" height="18" bgcolor="#008080"> <font face="Arial" size="2"><b>E_mail</b></font></td> <td vAlign="top" width="124" height="18" bgcolor="#008080"></td> </tr> <tr> <td vAlign="top" width="337" colspan="2" height="26" bgcolor="#008080"> <font face="Arial" size="2" color="#000000"> <input size="55" name="Email" MAXLENGHT="50" tabindex="8"></font></td> <td vAlign="top" width="124" height="26" bgcolor="#008080"> </td> </tr> <tr> <td vAlign="top" width="337" colspan="2" height="1" bgcolor="#008080"> </td> <td vAlign="top" width="124" height="1" bgcolor="#008080"> </td> <td vAlign="top" width="372" height="27" bgcolor="#008080"> <input type="submit" value="Enviar" name="Enviar"> <input type="reset" value="Limpar" name="Limpar"></td> </tr> </table> <p> </p> </form> </body> </html>DAI BELEZA!!!
coloco os dados no formulario e clico em enviar...ai ele me aparece com esta mensagem!!==>>>
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
EU IMPLORO !!!HELP ME!!! ESTOU A MAIS DE DUAS SEMANAS TENTANDO UMA SOLUÇÃO!
Link para o comentário
Compartilhar em outros sites
2 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.