mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
From David Ashman : added read message property (not yet needed until IMAP support)
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@120 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
ae2bd86275
commit
fa216c862e
@ -46,6 +46,7 @@ public class ExchangeSession {
|
||||
MESSAGE_REQUEST_PROPERTIES.add("urn:schemas:mailheader:mime-version");
|
||||
MESSAGE_REQUEST_PROPERTIES.add("urn:schemas:mailheader:content-class");
|
||||
MESSAGE_REQUEST_PROPERTIES.add("urn:schemas:httpmail:hasattachment");
|
||||
MESSAGE_REQUEST_PROPERTIES.add("urn:schemas:httpmail:read");
|
||||
|
||||
// needed only when full headers not found
|
||||
MESSAGE_REQUEST_PROPERTIES.add("urn:schemas:mailheader:received");
|
||||
@ -474,6 +475,8 @@ public class ExchangeSession {
|
||||
message.hasAttachment = "1".equals(prop.getPropertyAsString());
|
||||
} else if ("received".equals(prop.getLocalName())) {
|
||||
message.received = prop.getPropertyAsString();
|
||||
} else if ("read".equals(prop.getLocalName())) {
|
||||
message.read = "1".equals(prop.getPropertyAsString());
|
||||
} else if ("date".equals(prop.getLocalName())) {
|
||||
message.date = prop.getPropertyAsString();
|
||||
} else if ("message-id".equals(prop.getLocalName())) {
|
||||
@ -708,6 +711,7 @@ public class ExchangeSession {
|
||||
public String from;
|
||||
public String subject;
|
||||
public String priority;
|
||||
public boolean read;
|
||||
|
||||
protected List<Attachment> attachments;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user