Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Back to VFP, so Outlook OLE hints requested
Message
De
20/07/2000 10:25:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00393971
Message ID:
00394891
Vues:
10
loApp = creat('outlook.application')
lospace = loapp.getnamespace("MAPI")


for each lofolder in lospace.folders
* ?lofolder.name
for each losubfolder in lofolder.folders
* ?"--"+losubfolder.name
if upper(losubfolder.name) = "OUTBOX"
loOutbox = losubfolder
loMessage = loOutBox.items.add()
exit
endif
endfor
endfor

if vartype (loOutbox) = "O" and vartype(loMessage) = "O"
*?"found Outbox"
*lomessage = loOutbox.items.add()
with lomessage
.body = tcBody
.subject = tcSubject
.recipients.add(tcRecipient)
.send()
* ?"message sent"
endwith

endif


Hope this could help :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform