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
392c5c12
Commit
392c5c12
authored
Jan 27, 1998
by
Jeffrey Shell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed mailhost-getting bug
parent
615e816a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
lib/python/Products/MailHost/SendMailTag.py
lib/python/Products/MailHost/SendMailTag.py
+6
-2
No files found.
lib/python/Products/MailHost/SendMailTag.py
View file @
392c5c12
__rcs_id__
=
'$Id: SendMailTag.py,v 1.
1 1998/01/05 19:34
:31 jeffrey Exp $'
__version__
=
'$Revision: 1.
1
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: SendMailTag.py,v 1.
2 1998/01/27 17:27
:31 jeffrey Exp $'
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
from
MailHost
import
MailBase
from
DocumentTemplate.DT_Util
import
*
...
...
@@ -80,6 +80,7 @@ class SendMailTag:
has_key
=
args
.
has_key
if
self
.
mailhost
:
mhost
=
md
[
self
.
mailhost
]
mhost
.
send
(
self
.
section
(
md
.
this
,
md
),
self
.
mailto
,
self
.
mailfrom
,
self
.
subject
)
elif
self
.
smtphost
:
...
...
@@ -98,6 +99,9 @@ String.commands['sendmail']=SendMailTag
#############################################################
#
# $Log: SendMailTag.py,v $
# Revision 1.2 1998/01/27 17:27:31 jeffrey
# fixed mailhost-getting bug
#
# Revision 1.1 1998/01/05 19:34:31 jeffrey
# split out the SendMail tag machinery into new module
#
...
...
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