Jump to content
Fórum Script Brasil
  • 0

Envio de Email


Mateustg
 Share

Question

Tenho o seguinte script que faz  envio de email:

<%@ LANGUAGE="VBSCRIPT" %>

<% 
dim html, nome, assunto, telefone, mensagem
 
nome = Trim(Request.Form("nome"))
email = Trim(Request.Form("email"))
assunto = Trim(Request.Form("assunto"))
telefone = Trim(Request.Form("telefone"))
mensagem = Trim(Request.Form("mensagem"))
 
response.Write(nome)
set mail = server.createobject("cdonts.newmail")
mail.from = "Pedido de orçamento do Divulga Sete <[email protected]>"
'mail.From = Request.Form("email")
Mail.To = " "&email&" "
'Mail.Bcc = "[email protected]
Mail.Subject = "Formulário de Contato On-line"
 
html = "Formulário de contato via Web" + "<br />" + "<br />"
 
html = html + "<strong>Nome: </strong>" + nome + "<br />"
html = html + "<strong>Telefone: </strong>" + Request.Form("telefone") + "<br />"
html = html + "<strong>E-mail: </strong>" + Request.Form("email") + "<br />"
html = html + "<strong>Comentario: </strong>" + Request.Form("mensagem") + "<br />"
response.Write(nome)
Mail.BodyFormat = 0
Mail.MailFormat = 0
Mail.Body = html
Mail.Send
Set Mail = Nothing
 
response.redirect "obrigado.html"
 
%>
<body>
</body>
</html>
 
 
O único problema é que quando tento o envio para o Yahoo ele não recebe, outros emails todos receberam normal. O que posso fazer para o yahoo receber?
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      149.6k
    • Total Posts
      646.2k
×
×
  • Create New...