Previous Topic: Example 2Next Topic: Format


Delete Mail Messages

You can delete messages from users' mailboxes with the DELETE MAILMESSAGE statement. The DELETE MAILMESSAGE statement can specify a specific date or a number of days. All messages that were created before the specified date, or that have existed longer than the specified number of days, will be deleted from users' mailboxes. The statement will also delete all messages that have expired.