expungeBehavior property

String? expungeBehavior
getter/setter pair

The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder. Possible string values are:

  • "expungeBehaviorUnspecified" : Unspecified behavior.
  • "archive" : Archive messages marked as deleted.
  • "trash" : Move messages marked as deleted to the trash.
  • "deleteForever" : Immediately and permanently delete messages marked as deleted. The expunged messages cannot be recovered.

Implementation

core.String? expungeBehavior;