mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-05-22 10:50:19 +01:00
Trash items
This commit is contained in:
parent
48395c0ba7
commit
2b4418b1ff
1 changed files with 12 additions and 0 deletions
|
@ -180,6 +180,18 @@ class GmailFilter
|
|||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mark a message to be trashed.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function trash()
|
||||
{
|
||||
$this->trash = TRUE;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a condition.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue