Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deletion Agent

Status
Not open for further replies.
May 31, 2000
34
US
What is the best way to create an agent to delete e-mails not modified in the last xx days
 
Here's one I use to delete mail that's six months or older. You can change the date to what you're preference is.<br><br>SELECT @All;<br>OMF:= @Adjust(@Today;0;-6;0;0;0;0);<br>@If(@Modified &lt; OMF;@DeleteDocument;@Return(Null))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top