Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save attachments in Outlook
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Save attachments in Outlook
Divers
Thread ID:
00760835
Message ID:
00760835
Vues:
50
Hi,

I am having some problems saving an email attachment programatically. This is the code I have so far:

Public poOutlook as Outlook.Application,;
poNamespace as Outlook.Namespace

Local lcMailBox, lcNewOrdersFolder
lcMailBox = "Mailbox - Einar Kvandahl"
lcNewOrdersFolder = "New Orders"

poOutlook = CreateObject("Outlook.Application")
poNamespace = poOutlook.GetNamespace("MAPI")

loNewOrders = poNamespace.Folders(lcMailBox).Folders(lcNewOrdersFolder)


For each item in loNewOrders.Items
* Attachment code here
Next item

Release poOutlook, poNamespace

Could anybody help me with the code I need to put where it says "Attachment code here"?

Thanks,
Einar
Semper ubi sub ubi.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform