Method

SMTPSecureSocket.DeleteAllMessages


Warning

This item was deprecated in version 2019r2. Please use SMTPSecureSocket.RemoveAllMessages as a replacement.

Description

Deletes all messages from the send queue.

Sample code

This example deletes all the messages in the queue.

Socket1.DeleteAllMessages

Compatibility

All project types on all supported operating systems.