[Cosmo-dev] MailMessageRecord
Brian Kirsch
bkirsch at osafoundation.org
Tue Mar 13 13:14:37 PST 2007
Hi Brian,
Here is the current EIM for MailMessageRecord's. There will certainly
be more fields added as I start dump and reload but
these are the fields that I have so far to support EIMML P2P sharing
via mail.
class MailMessageRecord(eim.Record):
URI = "http://osafoundation.org/eim/mail/0"
uuid = eim.key(ItemRecord.uuid)
messageId = eim.field(text256, [messageIdFilter])
headers = eim.field(eim.ClobType, [headersFilter])
to = eim.field(text1024)
cc = eim.field(text1024)
bcc = eim.field(text1024, [bccFilter])
# Can contain text or email addresses ie. from The Management Team
whoFrom = eim.field(text512)
# Will contain the RFC 822 from address
sender = eim.field(text256)
# date sent is populated by MailStamp.dateSentString
dateSent = eim.field(text256, [dateSentFilter])
inReplyTo = eim.field(text256, [inReplyToFilter])
#The list of message-id's a mail message references
# can be quite long and can easily exceed 1024 characters
references = eim.field(eim.ClobType, [referencesFilter])
I have also attached a diff of osaf.sharing.model which is where all
this stuff is defined in Chandler.
Let me know what the next steps are for Cosmo.
Thanks,
Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: model.diff
Type: application/octet-stream
Size: 2946 bytes
Desc: not available
Url : http://lists.osafoundation.org/pipermail/cosmo-dev/attachments/20070313/36144aa9/model.obj
-------------- next part --------------
Brian Kirsch
Internationalization Architect / Mail Service Engineer
Open Source Applications Foundation
543 Howard Street 5th Floor
San Francisco, CA 94105
http://www.osafoundation.org
More information about the cosmo-dev
mailing list