Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email from Fox
Message
 
À
11/06/2003 12:04:25
Cleber Ferrari
Capta Tecnologia
Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00542682
Message ID:
00800108
Vues:
29
Try this:
oSession = CreateObject("MAPI.Session")
oSession.Logon("Microsoft Outlook Internet Settings",<password>)
oNewMessage=oSession.Outbox.messages.add()
oNewMessage.Subject = "This is an e-mail using CDO"
oNewMessage.Text = "Welcome to the world of CDO"
oRecipient = oNewMessage.Recipients.Add()
oRecipient.Name = "John Doe" && This name must appear in your address book.
oRecipient.Resolve && If name does not appear this will cause an error.
oNewMessage.Update()
oNewMessage.Send()
oSession.Logoff()
>Hi,
>
>Using CDO ( in windows xp ), how to authenticate in SMTP server ( to send a mail ) ?
>
>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform