[Zope3-checkins] CVS: Zope3/src/zope/app/wiki - configure.zcml:1.11

Eckart Hertzler eckart at hertzler.de
Mon May 10 09:26:12 EDT 2004


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

Modified Files:
	configure.zcml 
Log Message:
added a mail directive for queued delivery of wiki change mails


=== Zope3/src/zope/app/wiki/configure.zcml 1.10 => 1.11 ===
--- Zope3/src/zope/app/wiki/configure.zcml:1.10	Mon Mar 15 08:10:54 2004
+++ Zope3/src/zope/app/wiki/configure.zcml	Mon May 10 09:26:08 2004
@@ -1,6 +1,7 @@
 <configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:event="http://namespaces.zope.org/event"
+   xmlns:mail="http://namespaces.zope.org/mail"
    i18n_domain="zope"
    >
 
@@ -193,6 +194,16 @@
      factory=".wikipage.WikiPageWriteFile"
      permission="zope.app.wiki.EditWikiPage"
      />
+
+
+  <!-- Register mail delivery for change mails -->
+  <mail:smtpMailer name="wiki-smtp" hostname="localhost" port="25" />
+  
+  <mail:queuedDelivery 
+      name="wiki-delivery"
+      permission="zope.SendMail"
+      queuePath="./mail-queue"
+      mailer="wiki-smtp" />
 
   <!-- Register event listener for change mails -->
   <event:subscribe




More information about the Zope3-Checkins mailing list