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
99f2b045
Commit
99f2b045
authored
Jun 19, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged in b/w compatibility fix from 2.2 branch
parent
485fb1e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lib/python/Products/MailHost/MailHost.py
lib/python/Products/MailHost/MailHost.py
+5
-3
No files found.
lib/python/Products/MailHost/MailHost.py
View file @
99f2b045
...
...
@@ -84,8 +84,8 @@
##############################################################################
"""SMTP mail objects
$Id: MailHost.py,v 1.5
2 2000/06/16 19:46:32 srichter
Exp $"""
__version__
=
"$Revision: 1.5
2
$"
[
11
:
-
2
]
$Id: MailHost.py,v 1.5
3 2000/06/19 18:51:58 brian
Exp $"""
__version__
=
"$Revision: 1.5
3
$"
[
11
:
-
2
]
from
Globals
import
Persistent
,
HTMLFile
,
HTML
,
MessageDialog
from
smtplib
import
SMTP
...
...
@@ -100,7 +100,9 @@ smtpError = "SMTP Error"
MailHostError
=
"MailHost Error"
addForm
=
HTMLFile
(
'addMailHost_form'
,
globals
())
def
add
(
self
,
id
,
title
=
''
,
smtp_host
=
None
,
smtp_port
=
25
,
REQUEST
=
None
):
def
add
(
self
,
id
,
title
=
''
,
smtp_host
=
None
,
localhost
=
'localhost'
,
smtp_port
=
25
,
timeout
=
1.0
,
REQUEST
=
None
):
' add a MailHost into the system '
id
=
str
(
id
)
...
...
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