Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
CDO2.0 no longer use MAPI (or Outlook) it uses internet protocols. CDO2.0 was meant for you to use to design a complete application rather than an existing one. If you need to save the message in the sent items folder of outlook, then revert back to CDO 1.21 as suggested aboce.
>If youy are using the following technique with success, then would indicate that CDO 2.0 is installed.
>
>oMSG = CREATEOBJECT('cdo.message')
>oMSG.To = 'me@nowhere.com'
>oMSG.From = 'me'
>oMSG.Subject = 'Hello Email'
>oMSG.TextBody = 'This is an easy way to create an email'
>oMSG.Send()
>
>
>*---
>What if I want the message save in my Sent folder in outlook/default email program?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement