mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-12-01 23:16:03 +03:00
Give Message class constants to access the imap flags
This commit is contained in:
parent
8647977f38
commit
6377be4416
10
src/Fetch/Message.php
Normal file → Executable file
10
src/Fetch/Message.php
Normal file → Executable file
@ -177,6 +177,16 @@ class Message
|
|||||||
*/
|
*/
|
||||||
public static $charsetFlag = '//TRANSLIT';
|
public static $charsetFlag = '//TRANSLIT';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* These constants can be used to easily access available flags
|
||||||
|
*/
|
||||||
|
const FLAG_RECENT = 'recent';
|
||||||
|
const FLAG_FLAGGED = 'flagged';
|
||||||
|
const FLAG_ANSWERED = 'answered';
|
||||||
|
const FLAG_DELETED = 'deleted';
|
||||||
|
const FLAG_SEEN = 'seen';
|
||||||
|
const FLAG_DRAFT = 'draft';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This constructor takes in the uid for the message and the Imap class representing the mailbox the
|
* This constructor takes in the uid for the message and the Imap class representing the mailbox the
|
||||||
* message should be opened from. This constructor should generally not be called directly, but rather retrieved
|
* message should be opened from. This constructor should generally not be called directly, but rather retrieved
|
||||||
|
Loading…
Reference in New Issue
Block a user