SMTPSocket.DeleteAllMessages

From Xojo Documentation

Method

SMTPSocket.DeleteAllMessages()

Supported for all project types and targets.

Deletes all messages from the send queue.

Example

This example deletes all the messages in the queue. Socket1 is an SPTPSocket in the window.

Socket1.DeleteAllMessages