[Zope-Checkins] CVS: Zope2 - MailHost.py:1.4

Amos Latteier amos@digicool.com
Tue, 17 Apr 2001 19:29:56 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/Products/MailHost/help
In directory korak:/tmp/cvs-serv29065/MailHost/help

Modified Files:
	MailHost.py 
Log Message:
Many small structured text fixes, typos fixes, and small wording and formatting corrections. Some of these were pointed out by Tom Deprez.



--- Updated File MailHost.py in package Zope2 --
--- MailHost.py	2000/07/03 21:55:05	1.3
+++ MailHost.py	2001/04/17 23:29:25	1.4
@@ -83,7 +83,7 @@
 # 
 ##############################################################################
 
-def manage_addMailHost(self, id, title='', smtp_host=None,
+def manage_addMailHost(id, title='', smtp_host=None,
         localhost='localhost', smtp_port=25,
         timeout=1.0):
     """
@@ -97,18 +97,18 @@
     """
 
     MailHost objects work as adapters to Simple Mail Transfer Protocol
-    (SMTP) servers.  MailHosts are used by '<dtml-sendmail> tags
+    (SMTP) servers.  MailHosts are used by DTML 'sendmail' tags
     to find the proper host to deliver mail to.
 
     """
 
     __constructor__=manage_addMailHost
     
-    def send(self, messageText, mto=None, mfrom=None, subject=None,
+    def send(messageText, mto=None, mfrom=None, subject=None,
              encode=None):
         """
-
         Sends an email message.
+        The arguments are:
 
           messageText -- The body of the mail message.
 
@@ -118,7 +118,7 @@
 
           subject -- The subject of the message.
 
-          encode - is the rfc822 defined encoding of the message.  The
+          encode -- The rfc822 defined encoding of the message.  The
           default of 'None' means no encoding is done.  Valid values
           are 'base64', 'quoted-printable' and 'uuencode'.