<html> <head> <Title>OTG Mercantil</title> </head> <body> <% Set Mail = Server.createObject("SMTPsvg.Mailer") Mail.RemoteHost = "smtp.otgmercantil.com.br" Mail.Subject = "Cadastro de Pessoa Jurídica" Mail.FromAdress = "otgmercantil@otgmercantil.com.br" Mail.FromName = "www.otgmercantil.com.br" Mail.AddRecipient "OTG Mercantil", "maxgra@ig.com.br" Mail.BodyText = "Maxwell isso é um teste do site da OTG, tomara q tenha dado certo" Mail.SendMail erro="Seu E-mail foi enviado com sucesso" %> <table width="504" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="center"><font face="Verdana" size="2"><strong><% Response.write(erro) %></strong></font></div></td> </tr> </table> </body> </html>
Valeu.......