Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

zanelati2002

Erro 800a01b6 ao passar e-mail

Recommended Posts

olhem o codigo

 

Set Mailer = Server.CreateObject("SMTPsvg.Mailer")	HTML = "<!DOCTYPE HTML PUBLIC""-//IETF//DTD HTML//EN"">"	HTML = HTML & "<html>"	HTML = HTML & "<head>" 	HTML = HTML & "</head>"	HTML = HTML & "<body bgcolor=""FFFFFF"">"	HTML = HTML & "<font face=Verdana size=1>"	HTML = HTML & "<b>Você acabou de se cadastrar no Sistema Cadastro e Login</b><br><br>"	HTML = HTML & "Lembre sempre de seus dados.<br><br>"	HTML = HTML & "Login: "& login &"<br>Senha: "& senha &"<br><br>"	HTML = HTML & "Email: "& email &"<br>Data do Cadastro: "& day(now) & " / "& month(now) & " / "& year(now) & "<br><br>"	HTML = HTML & "Hora: " &time()&" <br>Seu IP: "&Request.ServerVariables("REMOTE_ADDR")&" <br><br>"	HTML = HTML & "Visite nosso Site: <a href=""www.sitedozanelati.com"">www.sitedozanelati.com</a>"	HTML = HTML & "</body>"	HTML = HTML & "</html>"	Mailer.RemoteHost  = "mail.sitedozanelati.com"Mailer.FromName	= "Site do Zanelati"Mailer.FromAddress = "faleconosco@sitedozanelati.com"Mailer.AddRecipient = request.Form("email")Mailer.Subject	 = "Sistema de Cadastro e Login - Site do Zanelati"Mailer.BodyText	= HTMLMailer.Priority = 1Mailer.SendMailSet Mailer = Nothing%>

Olhem o erro

 

Microsoft VBScript runtime error '800a01b6'

 

Object doesn't support this property or method: 'Mailer.AddRecipient'

 

/projeto_2/mens.asp, line 160

Compartilhar este post


Link para o post
Compartilhar em outros sites

tente o código abaixo:

 

Set Mailer = Server.CreateObject("SMTPsvg.Mailer")	HTML = "<!DOCTYPE HTML PUBLIC""-//IETF//DTD HTML//EN"">"	HTML = HTML & "<html>"	HTML = HTML & "<head>" 	HTML = HTML & "</head>"	HTML = HTML & "<body bgcolor=""FFFFFF"">"	HTML = HTML & "<font face=Verdana size=1>"	HTML = HTML & "<b>Você acabou de se cadastrar no Sistema Cadastro e Login</b><br><br>"	HTML = HTML & "Lembre sempre de seus dados.<br><br>"	HTML = HTML & "Login: "& login &"<br>Senha: "& senha &"<br><br>"	HTML = HTML & "Email: "& email &"<br>Data do Cadastro: "& day(now) & " / "& month(now) & " / "& year(now) & "<br><br>"	HTML = HTML & "Hora: " &time()&" <br>Seu IP: "&Request.ServerVariables("REMOTE_ADDR")&" <br><br>"	HTML = HTML & "Visite nosso Site: <a href=""www.sitedozanelati.com"">www.sitedozanelati.com</a>"	HTML = HTML & "</body>"	HTML = HTML & "</html>"	Mailer.RemoteHost  = "mail.sitedozanelati.com"Mailer.FromName	= "Site do Zanelati"Mailer.FromAddress = "faleconosco@sitedozanelati.com"Mailer.AddRecipient "João da Silva", request.Form("email")Mailer.Subject	 = "Sistema de Cadastro e Login - Site do Zanelati"Mailer.BodyText	= HTMLMailer.Priority = 1Mailer.SendMailSet Mailer = Nothing%>

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.