[Zope3-checkins] CVS: Zope3/src/zope/app/mail - metaconfigure.py:1.7 metadirectives.py:1.6

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Apr 25 00:41:34 EDT 2004


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

Modified Files:
	metaconfigure.py metadirectives.py 
Log Message:
Thanks to Paolo to reporting a bug with the mail directives.


=== Zope3/src/zope/app/mail/metaconfigure.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/mail/metaconfigure.py:1.6	Wed Mar  3 04:15:41 2004
+++ Zope3/src/zope/app/mail/metaconfigure.py	Sun Apr 25 00:41:00 2004
@@ -36,7 +36,7 @@
     return proxify(component, checker)
     
 
-def queuedDelivery(_context, permission, queuePath, mailer, name=None):
+def queuedDelivery(_context, permission, queuePath, mailer, name="Mail"):
 
     def createQueuedDelivery():
         delivery = QueuedMailDelivery(queuePath)
@@ -61,7 +61,7 @@
             args = () )
 
 
-def directDelivery(_context, permission, mailer, name=None):
+def directDelivery(_context, permission, mailer, name="Mail"):
 
     def createDirectDelivery():
         mailerObject = zapi.queryUtility(None, IMailer, name=mailer)


=== Zope3/src/zope/app/mail/metadirectives.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/mail/metadirectives.py:1.5	Sat Mar 20 14:52:46 2004
+++ Zope3/src/zope/app/mail/metadirectives.py	Sun Apr 25 00:41:00 2004
@@ -88,7 +88,7 @@
     port = Int(
         title=u"Port",
         description=u"Port of the SMTP server.",
-        default=23,
+        default=25,
         required=False)
 
     username = TextLine(




More information about the Zope3-Checkins mailing list