projects
/
eoc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release version 1.2.6.
[eoc.git]
/
eoc.py
diff --git
a/eoc.py
b/eoc.py
index f855b36333737e77f1599a551ba107f9732ded1c..b385fcfc2cb256a71e0ea8a3a40ccac36b67a8c9 100644
(file)
--- a/
eoc.py
+++ b/
eoc.py
@@
-4,7
+4,7
@@
This is a simple mailing list manager that mimicks the ezmlm-idx mail
address commands. See manual page for more information.
"""
address commands. See manual page for more information.
"""
-VERSION = "1.2.
4
"
+VERSION = "1.2.
6
"
PLUGIN_INTERFACE_VERSION = "1"
import getopt
PLUGIN_INTERFACE_VERSION = "1"
import getopt
@@
-440,7
+440,7
@@
class MailingListManager:
sys.exit(1)
else:
status = forkexec([self.sendmail, "-oi", "-f",
sys.exit(1)
else:
status = forkexec([self.sendmail, "-oi", "-f",
- envelope_sender] + recipien
ien
ts, text)
+ envelope_sender] + recipients, text)
if status:
error("%s returned %s, mail sending probably failed" %
(self.sendmail, status))
if status:
error("%s returned %s, mail sending probably failed" %
(self.sendmail, status))
@@
-551,7
+551,7
@@
class MailingList:
return "\n".join(headers) + "\n\n" + body
except:
return "\n".join(headers) + "\n\n" + body
except:
-
warning
("Cannot MIME encode header, using original ones, sorry")
+
info
("Cannot MIME encode header, using original ones, sorry")
return text
def template(self, template_name, dict):
return text
def template(self, template_name, dict):
@@
-657,7
+657,7
@@
class MailingList:
"boundary": self.invent_boundary(),
})
else:
"boundary": self.invent_boundary(),
})
else:
- self.info_message([recipient], "setlist-sorry", {})
+ self.
send_
info_message([recipient], "setlist-sorry", {})
def parse_setlist_addresses(self, text):
body = text.split("\n\n", 1)[1]
def parse_setlist_addresses(self, text):
body = text.split("\n\n", 1)[1]