Information générale
Catégorie:
COM/DCOM et OLE Automation
>Tamar,
>
>PMFJI,
>
>I looked at my code for doing outlook mail and after the createobject line I have:
>
>oEmailItem = oOutLookObject.CreateItem(MAILITEM)
>
>Nowhere do I have a GetNameSpace(MAPI) command, but my e-mail seems to work OK. Am I just lucky or does the CreateITEM handle this NameSpace thing automatically?
>
We've been discussing this in another thread (can't remember the thread title offhand now) and while things work okay with the GetNameSpace call, it seems wiser to include it. You definitely need it anytime you're reading information from Outlook.
Tamar
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