[Cosmo-dev] Fwd: MailMessageRecord
Brian Kirsch
bkirsch at osafoundation.org
Fri Mar 16 15:42:27 PST 2007
Hi Brian,
I made some changes to the MailMessageRecord in regards to the email
addressing fields.
Here is the latest record code:
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])
# Will contain the RFC 822 from address
fromAddress = eim.field(text256)
toAddress = eim.field(text1024)
ccAddress = eim.field(text1024)
bccAddress = eim.field(text1024, [bccFilter])
# Can contain text or email addresses ie. from The Management Team
originators = eim.field(text1024)
# 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])
This is just an FYI. Since there is still more work to be done on my
end
there is no reason for you to update Cosmo till the MailMessageRecord
work is complete some time next week.
Thanks,
Brian
Brian Kirsch
Internationalization Architect / Mail Service Engineer
Open Source Applications Foundation
543 Howard Street 5th Floor
San Francisco, CA 94105
http://www.osafoundation.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: model.diff
Type: application/octet-stream
Size: 3441 bytes
Desc: not available
Url : http://lists.osafoundation.org/pipermail/cosmo-dev/attachments/20070316/67bd9cb2/model.obj
-------------- next part --------------
Begin forwarded message:
> From: Brian Kirsch <bkirsch at osafoundation.org>
> Date: March 13, 2007 11:14:37 AM HST
> To: Cosmo Dev Mailing List <cosmo-dev at osafoundation.org>
> Subject: MailMessageRecord
>
> 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/20070316/67bd9cb2/model-0001.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