Commit 575f77b5 authored by Amos Latteier's avatar Amos Latteier

Added online help for MailHost.

parent cfa136b5
...@@ -93,8 +93,8 @@ import OFS.SimpleItem, re, quopri, rfc822 ...@@ -93,8 +93,8 @@ import OFS.SimpleItem, re, quopri, rfc822
import Globals import Globals
from cStringIO import StringIO from cStringIO import StringIO
#$Id: MailHost.py,v 1.45 1999/11/03 14:42:15 brian Exp $ #$Id: MailHost.py,v 1.46 2000/01/10 23:48:36 amos Exp $
__version__ = "$Revision: 1.45 $"[11:-2] __version__ = "$Revision: 1.46 $"[11:-2]
smtpError = "SMTP Error" smtpError = "SMTP Error"
MailHostError = "MailHost Error" MailHostError = "MailHost Error"
...@@ -121,9 +121,11 @@ class MailBase(Acquisition.Implicit, OFS.SimpleItem.Item, RoleManager): ...@@ -121,9 +121,11 @@ class MailBase(Acquisition.Implicit, OFS.SimpleItem.Item, RoleManager):
timeout=1.0 timeout=1.0
manage_options=({'icon':'', 'label':'Edit', manage_options=({'icon':'', 'label':'Edit',
'action':'manage_main', 'target':'manage_main'}, 'action':'manage_main', 'target':'manage_main',
'help':('MailHost','Mail-Host_Edit.dtml')},
{'icon':'', 'label':'Security', {'icon':'', 'label':'Security',
'action':'manage_access', 'target':'manage_main'}, 'action':'manage_access', 'target':'manage_main',
'help':('MailHost','Mail-Host_Security.dtml')},
) )
__ac_permissions__=( __ac_permissions__=(
...@@ -338,7 +340,7 @@ def decapitate(message): ...@@ -338,7 +340,7 @@ def decapitate(message):
hd['to']=[] hd['to']=[]
for header in (mo.getaddrlist('to'), for header in (mo.getaddrlist('to'),
mo.getaddrlist('cc'), mo.getaddrlist('cc'),
mo.getaddrlist('bcc')): mo.getaddrlist('bcc')):
if not header: continue if not header: continue
for name, addr in header: for name, addr in header:
hd['to'].append(addr) hd['to'].append(addr)
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
<BODY BGCOLOR="#FFFFFF"> <BODY BGCOLOR="#FFFFFF">
<H2>Add MailHost</H2> <H2>Add MailHost</H2>
<dtml-var "HelpSys.HelpButton('Mail-Host_Add.dtml', 'MailHost')">
<P> <P>
A Mail Host allows Zope to send email. A Mail Host allows Zope to send email.
</P> </P>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment