[Zope3-checkins] CVS: Zope3/src/zope/app/mail - service.py:1.6

Stephan Richter srichter@cosmos.phy.tufts.edu
Sat, 26 Jul 2003 11:04:15 -0400


Update of /cvs-repository/Zope3/src/zope/app/mail
In directory cvs.zope.org:/tmp/cvs-serv27244/src/zope/app/mail

Modified Files:
	service.py 
Log Message:
when queue path is set, try to create the necessary dirs. This way we do not
have to create the dirs before initating the mail service. setQueuePAth() is 
called from the directive.


=== Zope3/src/zope/app/mail/service.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/mail/service.py:1.5	Tue Jul 15 10:17:42 2003
+++ Zope3/src/zope/app/mail/service.py	Sat Jul 26 11:04:08 2003
@@ -127,7 +127,7 @@
         self.maildir = maildir
 
     def setQueuePath(self, path):
-        self.maildir = Maildir(path)
+        self.maildir = Maildir(path, True)
 
     def setMailer(self, mailer):
         self.mailer = mailer