[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/mail/ Cosmetic fix.
Gintautas Miliauskas
gintas at pov.lt
Mon Aug 2 11:21:16 EDT 2004
Log message for revision 26863:
Cosmetic fix.
Changed:
U Zope3/trunk/src/zope/app/mail/interfaces.py
U Zope3/trunk/src/zope/app/mail/mailer.py
-=-
Modified: Zope3/trunk/src/zope/app/mail/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/mail/interfaces.py 2004-07-30 21:30:23 UTC (rev 26862)
+++ Zope3/trunk/src/zope/app/mail/interfaces.py 2004-08-02 15:21:16 UTC (rev 26863)
@@ -23,8 +23,8 @@
message is only sent when the transaction commits successfully. (Among
other things this avoids duplicate messages on 'ConflictErrors'.)
-- If the delivery utility is a 'IQueuedMailDelivery', it puts the message into a
- queue (a Maildir mailbox in the file system). A separate process or thread
+- If the delivery utility is a 'IQueuedMailDelivery', it puts the message into
+ a queue (a Maildir mailbox in the file system). A separate process or thread
('IMailQueueProcessor') watches the queue and delivers messages
asynchronously. Since the queue is located in the file system, it survives
Zope restarts or crashes and the mail is not lost. The queue processor
@@ -55,6 +55,7 @@
$Id$
"""
+
from zope.interface import Interface, Attribute
from zope.schema import Object, TextLine, Int, Password, BytesLine
@@ -66,7 +67,7 @@
people."""
def send(fromaddr, toaddrs, message):
- """Sends an email message.
+ """Send an email message.
'fromaddr' is the sender address (byte string),
@@ -125,10 +126,10 @@
class IMailer(Interface):
- """Mailer handles syncrhonous mail delivery."""
+ """Mailer handles synchronous mail delivery."""
def send(fromaddr, toaddrs, message):
- """Sends an email message.
+ """Send an email message.
'fromaddr' is the sender address (unicode string),
Modified: Zope3/trunk/src/zope/app/mail/mailer.py
===================================================================
--- Zope3/trunk/src/zope/app/mail/mailer.py 2004-07-30 21:30:23 UTC (rev 26862)
+++ Zope3/trunk/src/zope/app/mail/mailer.py 2004-08-02 15:21:16 UTC (rev 26863)
@@ -40,6 +40,7 @@
f.write(message)
f.close()
+
class SMTPMailer(object):
implements(ISMTPMailer)
More information about the Zope3-Checkins
mailing list