Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PST en FoxPro
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00722351
Message ID:
00733081
Views:
38
>o quiza podrias darme una orientacion sobre la automatizacion de VFP + Outlook.

Haz visto las referencias que puse en un mensaje anterior en este mismo hilo?
Re: PST en FoxPro Thread #722351 Message #724595


>Veras, tengo una aplicacion que envia Email, pero despues de un tiempo el inbox se llena y los mensajes no salen, por lo que me toca borrar todo de manera manual.

Inbox? No querras decir Outbox?
Haz probado usando
oMailItem.DeleteAfterSubmit = .T.
Tambien puedes hacer algo asi como lo siguiente (código no ha sido probado ya que no uso Outlook en casa):
oSavedFolder = oMailItem.SaveSentMessageFolder
? oSavedFolder.FolderPath()
? oSavedFolder.Items.Count

for each nItem in oSavedFolder.Items
  oSavedFolder.Items.Remove(nItem)
next
HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform