So...the convention used to name emails stored to the file system is:
"Mail" + timestamp + "-" + [0-9]
I am guessing the "-1" is used to differentiate emails that have the
same timestamp.
I am interested in how JAMES handles uniquely naming emails. We are writing
a mailet to store information assocated with each email to the filesystem. We are
anticipating high volumes of mail (or at least high enough that using a timestamp
would not be sufficient to guard against namespace collision). Can anybody point
me to the code that handles this?
Thanks, Pat
-----Original Message-----
From: Stephan Schiessling [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 28, 2001 3:10 AM
To: [EMAIL PROTECTED]
Subject: Re: email names on filesystem
The first part is a hexstring:
4D=M
61=m
....
4D61696C3938373633383637333631382D31 = Mail987638673618-1
Hope this helps
Stephan Schiessling
[EMAIL PROTECTED]
> Patrick Cullen schrieb:
>
> How are filenames generated for emails that are stored to the
> filesystem?
>
> eg. 4D61696C3938373633383637333631382D31.private.PersistentStore
>
> A cursory glance at the code leads me to believe the name is generated
> by the Store.StreamRepository class (perhaps using the timestamp id
> found in MailImpl).
> Before posting to the developer group I wanted to ask here.
>
> Thanks, Patrick
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
