Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help: Need email (no outlook) 'via SMTP'
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00673833
Message ID:
00674034
Vues:
31
>You can use CDONTS. See Re: I can't send e-mail programmatically Message #483311 for sample code.
>


Hello Sergey,

NT4.0 server

When I try to run from the server I get message
OLE error code 0x80040154: Class not registered.

Any ideas on how to make this work?
objMail = CreateObject("CDONTS.Newmail")
*objMail.MailFormat = cdoMailFormatMIME
objMail.From = "ArkMonServer@ArkBlueCross.com"
objMail.To = lcEmail
*objMail.bcc = "JohnDoe@yippee.com"
objMail.Value("Reply-To") = "elbolton@arkbluecross.com"
objMail.Importance = 1
objMail.Subject = "AMCRON mess-test sent from ARKMON SERVER"
objMail.Body = lcBody
*objMail.AttachFile(lcFileName, "File Caption goes here")
objMail.Send
Release objMail
Edgar L. Bolton, B.S. B.B.A.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform