Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you create a message object?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00793252
Message ID:
00793514
Vues:
23
Thanx Sergey,
that did it...
Now - to put the problem/solution in words, would it be correct to say;
The object 'inbox' was not being properly assigned to the outlook inbox folder.
The outlook inbox folder is recognized in the namespace object as the 6th element.


>The following changes should fix the problem.
* Replace in the GetMailObject method
>THIS.oInbox=THIS.GetFolder(lcRequiredFolder)
>* With
>IF UPPER(lcRequiredFolder) = UPPER("Inbox")
>	THIS.oInbox=THIS.oNameSpace.GetDefaultFolder(6)
>ELSE
>	THIS.oInbox=THIS.GetFolder(lcRequiredFolder)
>ENDIF	
There maybe better ways to do that but it did work for me so I'm not going to spend more time on it.
>
>>Hi Sergey,
>>In your responce to ERIN
>>
>>You can start with 'MAPI Mail Class' file#9524 from Download section.
>>Outlook 2000 installed
>>
>>I can't start the test form because of code in class cusmail readmail
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