Skip to content

Exemplo de envio de email com CDonts

<%
set mail=server.createobject(“CDONTS.NewMail”)

mail.To=”little_oak@yahoo.com.br” ’email destinatário’
mail.from=”email_presenteno_servidor@domínio.com” ’email do remetente’
mail.Subject=”Contato” ‘Assunto’
mail.BodyFormat = 0 ‘setando a propriedade do email p/ HTML’
mail.MailFormat = 0
mail.Body=”<font size=2 face=arial><b>Olá Little_Oak</b>, Este email é para<font color=#FF0000>”TESTES”</font>. http://littleoak.wordpress.com”

mail.Send
%>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.