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
95eb6ff3
Commit
95eb6ff3
authored
Feb 03, 2010
by
Martijn Pieters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge r108731 from 2.12: MailHost fallback to HELO
parent
1c1dc58e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
doc/CHANGES.txt
doc/CHANGES.txt
+6
-0
lib/python/Products/MailHost/mailer.py
lib/python/Products/MailHost/mailer.py
+4
-2
No files found.
doc/CHANGES.txt
View file @
95eb6ff3
...
@@ -4,6 +4,12 @@ Zope Changes
...
@@ -4,6 +4,12 @@ Zope Changes
Change information for previous versions of Zope can be found in the
Change information for previous versions of Zope can be found in the
file HISTORY.txt.
file HISTORY.txt.
Zope 2.11.7 (Unreleased)
Bugs Fixed
- MailHost should fall back to HELO when EHLO fails.
Zope 2.11.6 (2010/01/12)
Zope 2.11.6 (2010/01/12)
Bugs Fixed
Bugs Fixed
...
...
lib/python/Products/MailHost/mailer.py
View file @
95eb6ff3
...
@@ -49,7 +49,9 @@ class SMTPMailer(object):
...
@@ -49,7 +49,9 @@ class SMTPMailer(object):
# send EHLO
# send EHLO
code
,
response
=
connection
.
ehlo
()
code
,
response
=
connection
.
ehlo
()
if
code
<
200
or
code
>
300
:
if
code
<
200
or
code
>
300
:
raise
RuntimeError
(
'Error sending EHLO to the SMTP server '
code
,
response
=
connection
.
helo
()
if
code
<
200
or
code
>
300
:
raise
RuntimeError
(
'Error sending HELO to the SMTP server '
'(code=%s, response=%s)'
%
(
code
,
response
))
'(code=%s, response=%s)'
%
(
code
,
response
))
# encryption support
# encryption support
...
...
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