Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nigel Coates MAPI Class or Outlook class which should I
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00503064
Message ID:
00505184
Views:
24
I've just re-read this whole thread and notice that you are putting the file name into an array. This won't work.

The file will only exist while Outlook (or whatever client) is actually referencing it. As soon as you GetAttachmentFile() for another file or message, the one you've just referenced is automatically deleted by the client.

You will need to do your copying or processing immediately. That's where the reference I made to Append From obj.GetAttachmentFile(1) works. I suggest that you put in a function call whenever you find a message with attachment(s) you require, passing the function the obj.GetAttachmentFile(n) value.

I think that's the root of your problem.

>Mark
>
>Food for thought but I thought they opeared in the same way
>
>Colin
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform