[Cosmo-dev] Mail Record schema for Preview

Brian Kirsch bkirsch at osafoundation.org
Thu Mar 29 12:52:22 PST 2007


Hi Guys,
Here is the finalized MailMessageRecord EIM field info for Preview.


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])


-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




More information about the cosmo-dev mailing list