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
53e8eba6
Commit
53e8eba6
authored
Feb 05, 1998
by
Jeffrey Shell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small code fixes
parent
6369fa88
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
lib/python/Products/MailHost/SendMailTag.py
lib/python/Products/MailHost/SendMailTag.py
+8
-6
No files found.
lib/python/Products/MailHost/SendMailTag.py
View file @
53e8eba6
__rcs_id__
=
'$Id: SendMailTag.py,v 1.
2 1998/01/27 17:27:31
jeffrey Exp $'
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: SendMailTag.py,v 1.
3 1998/02/05 16:01:17
jeffrey Exp $'
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
from
MailHost
import
MailBase
from
DocumentTemplate.DT_Util
import
*
...
...
@@ -81,12 +81,11 @@ class SendMailTag:
if
self
.
mailhost
:
mhost
=
md
[
self
.
mailhost
]
mhost
.
send
(
self
.
section
(
md
.
this
,
md
),
self
.
mailto
,
self
.
mailfrom
,
self
.
subject
)
elif
self
.
smtphost
:
mhost
=
MailBase
()
mhost
.
_init
(
localHost
=
gethostname
(),
smtpHost
=
self
.
smtphost
,
smtpPort
=
self
.
port
)
mhost
.
send
(
self
.
section
(
md
.
this
,
md
),
self
.
mailto
,
self
.
mailfrom
,
self
.
subject
)
...
...
@@ -99,6 +98,9 @@ String.commands['sendmail']=SendMailTag
#############################################################
#
# $Log: SendMailTag.py,v $
# Revision 1.3 1998/02/05 16:01:17 jeffrey
# small code fixes
#
# Revision 1.2 1998/01/27 17:27:31 jeffrey
# fixed mailhost-getting bug
#
...
...
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