Comment envoyer un mail grace a Cdonts ?

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

 




Commentaires

Pas de commentaire

Laissez un commentaire

Commenting is restricted to registered users only. Please register or login now to submit a comment.