outlook automation - deleting message from "sent items".

Fuga

Registered User.
Local time
Today, 06:46
Joined
Feb 28, 2002
Messages
566
Hi,

I have a db at one location, running a fetching operation every 15 minutes.

Since I'm at a different location, I use outlook automation to send an email, telling me the db is up and running.

This of course fills up the "sent items" folder quite rapidly. Sure I can delete them manually, but I would prefer to do it automatically.

Does anyone know how? The deleting process should delete all messages in the sent items folder with a specific topic.

Thanks.


Fuga.
 
I don't know how to delete specific items. But you could try and add this code to your outlook automation procedure:

Code:
 .DeleteAfterSubmit = True

This would let Outlook send the message telling you the db is up and running without storing the message in your sent items folder.
 

Users who are viewing this thread

Back
Top Bottom