Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you create a message object?
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00793252
Message ID:
00793502
Views:
20
This message has been marked as the solution to the initial question of the thread.
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
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform