Comment envoyer un mail grace a Cdonts ?
- Par: serveurblog
- Le: 26.03.2008 10:50:30
- Dans: Composants ASP
- Commentaires: 0
Voici le code source de l'envoi :
Dim MAILCDO
Set MAILCDO = Server.CreateObject("CDONTS.NewMail")
MAILCDO.To = "info@votredomaine.com"
MAILCDO.From = "info@votredomaine.com"
MAILCDO.Subject = "Sujet"
MAILCDO.Body = "CorpsDuTexte"
MAILCDO.Importance = 1
MAILCDO.BodyFormat=0
MAILCDO.MailFormat=0
MAILCDO.Send
set MAILCDO=Nothing
Pas de commentaire