[Zope3-dev] SMTP Server question
Stephan Richter
srichter@cbu.edu
Thu, 04 Apr 2002 14:27:19 -0600
Hello everyone,
I am implementing an SMTP Server for Zope 3, based on Gerson Kurts shiks!
server implementation.
Shane raised the question today and asked me how I plan to store the data
in the ZODB. Obviously there will be a concept of a MailBoxFolder and
Mailbox object, but how does the server get to them or know whether they exist?
There are basically three approaches:
1. We can have a SMTP View and objects that implement it and through
traversal it can figure out how to save. (Same for Adapters.)
2. We can assume that a MailboxFolder lies in the ZODB root object (if not
it is created).
3. We can have a registry that tells the server the available MailBoxFolders.
I like the third approach best.
Please send me your opinion.
Regards,
Stephan
--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management