Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting Items of Mail in Outlook
Message
De
27/04/2001 11:34:03
 
 
À
27/04/2001 08:18:43
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00499468
Message ID:
00500773
Vues:
27
Hello Paul

Yes that looks just what I was after.

I have marked the thread as solved. Thanks:)


Now if I can just find someone to answer my thread regarding filtering the SenderName using Nigel Coates Outlook class I will be in business on the function I am trying to write:)

I have never had to wait 2 days for a response before:( I wonder if there is a conference on somewhere.




>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
Répondre
Fil
Voir

Click here to load this message in the networking platform