Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nigel Coates MAPI Class or Outlook class which should I
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00503064
Message ID:
00505184
Vues:
25
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform