Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
575f77b5
Commit
575f77b5
authored
Jan 10, 2000
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added online help for MailHost.
parent
cfa136b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
lib/python/Products/MailHost/MailHost.py
lib/python/Products/MailHost/MailHost.py
+7
-5
lib/python/Products/MailHost/addMailHost_form.dtml
lib/python/Products/MailHost/addMailHost_form.dtml
+2
-0
No files found.
lib/python/Products/MailHost/MailHost.py
View file @
575f77b5
...
@@ -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.4
5 1999/11/03 14:42:15 brian
Exp $
#$Id: MailHost.py,v 1.4
6 2000/01/10 23:48:36 amos
Exp $
__version__
=
"$Revision: 1.4
5
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.4
6
$"
[
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)
...
...
lib/python/Products/MailHost/addMailHost_form.dtml
View file @
575f77b5
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment