SMTPSocket.DeleteAllMessages
From Xojo Documentation
Method
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
Deletes all messages from the send queue.
This example deletes all the messages in the queue. Socket1 is an SPTPSocket in the window.