Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAPI with filetostr() as email body
Message
 
 
To
25/10/2009 03:57:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01431288
Message ID:
01431319
Views:
39
MAPI doesn't know how you assign values to lcBody. The problem is with FILETOSTR() part.

>i am using MAPI with MS Outlook and happy to say most of it is now working. However one aspect of the programming is still not working:
>
>If i place a simple text "This is a sample of the text and it works fine" as lcBody it works fine but when i try this
>lcBody =filetostr('c:\sample.txt')
>It no longer works.
>
>Yet it does work perfectly in Outlook Express as the default mailer.
>
>Is there something different about generating emails in MS Outllook that will not allow this or do i need to set up alternate code for filetostr
>in this application.
>
>thanks
>
>k
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform