Update of /cvsroot/csmaild/csmaild/src/Common
In directory sc8-pr-cvs1:/tmp/cvs-serv5380/src/Common
Modified Files:
Message.cs
Log Message:
Modified XML mail store to read the internal date of the message
Added internal date to the message object
Added Count properties to the various "collections" in the rfc2822 object model
Fixed the rfc2822 message interpreter for addresses, and various other small fixes
Index: Message.cs
===================================================================
RCS file: /cvsroot/csmaild/csmaild/src/Common/Message.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Message.cs 1 Aug 2003 22:02:37 -0000 1.5
--- Message.cs 2 Aug 2003 15:57:10 -0000 1.6
***************
*** 14,17 ****
--- 14,18 ----
#region Variables
private uint mUniqueId;
+
private bool mSeen;
private bool mAnswered;
***************
*** 20,24 ****
--- 21,27 ----
private bool mDraft;
private bool mRecent;
+
private int mSize;
+ private DateTime mInternalDate;
#endregion
***************
*** 136,139 ****
--- 139,153 ----
}
+ /// <summary>
+ /// The exact date of receipt
+ /// </summary>
+ public DateTime InternalDate
+ {
+ get
+ {
+ return mInternalDate;
+ }
+ }
+
public Rfc2822.Message Rfc822Message
{
***************
*** 145,149 ****
#endregion
! public Message(IMailstoreProvider provider, object providersId, uint uid, bool seen, bool answered, bool flagged, bool deleted, bool draft, int size) : base(provider, providersId)
{
mUniqueId = uid;
--- 159,163 ----
#endregion
! public Message(IMailstoreProvider provider, object providersId, uint uid, bool seen, bool answered, bool flagged, bool deleted, bool draft, int size, DateTime internalDate) : base(provider, providersId)
{
mUniqueId = uid;
***************
*** 155,158 ****
--- 169,173 ----
mRecent = false;
mSize = size;
+ mInternalDate = internalDate;
}
}
|