address commands. See manual page for more information.
"""
-VERSION = "1.2.4"
+VERSION = "1.2.5"
PLUGIN_INTERFACE_VERSION = "1"
import getopt
sys.exit(1)
else:
status = forkexec([self.sendmail, "-oi", "-f",
- envelope_sender] + recipienients, text)
+ envelope_sender] + recipients, text)
if status:
error("%s returned %s, mail sending probably failed" %
(self.sendmail, status))
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):