Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting Items of Mail in Outlook
Message
De
27/04/2001 08:18:43
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, Royaume Uni
 
 
À
25/04/2001 06:21:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00499468
Message ID:
00500567
Vues:
19
This message has been marked as the solution to the initial question of the thread.
Mike,

Is this useful?
LOCAL lo, loSpace, loInbox
lo = CREATEOBJECT( "Outlook.Application" )
loSpace = lo.GetNameSpace( "MAPI" )
loInbox = loSpace.GetDefaultFolder( 6 )  && The default Inbox folder
loDeletedItems = loSpace.GetDefaultFolder( 3 )  && The default Deleted Items folder
FOR EACH loMsg IN loInbox.Items

  *** put any conditions in here

  loMsg.Move( loDeletedItems )
ENDFOR
Regards

Paul

>I am writing an application that passes DBF files backwards and forwards as attachments in Outlook mail.
>
>I am using Nigel Coates Outlook class for this.
>
>After my app has succesfully imported the the attached DBF(s) I want to delete the email that they arrived in.
>
>I presume this is handled by some sort of move command, to move the mail the deleted folder in Outlook.
>
>Does anyone know how to do this.
>
>Many Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform