PermanentDelete property

bool get PermanentDelete
Gets or sets a value indicating whether incoming messages should be permanently deleted. When a message is permanently deleted, it is never saved into the recipient's mailbox. To delete a message after it has been saved into the recipient's mailbox, use the Delete action.

Implementation

bool get PermanentDelete => permanentDelete;
set PermanentDelete (bool value)

Implementation

set PermanentDelete(bool value) {
  if (CanSetFieldValue(permanentDelete, value)) {
    permanentDelete = value;
    Changed();
  }
}