1.1 --- a/imiptools/__init__.py Tue Oct 28 18:04:05 2014 +0100
1.2 +++ b/imiptools/__init__.py Tue Oct 28 18:22:28 2014 +0100
1.3 @@ -86,7 +86,7 @@
1.4 if "-d" in sys.argv:
1.5 print message
1.6 elif self.lmtp_socket:
1.7 - self.messenger.sendmail(original_recipients, message.as_string(), self.lmtp_socket)
1.8 + self.messenger.sendmail(original_recipients, message.as_string(), lmtp_socket=self.lmtp_socket)
1.9
1.10 # Unhandled messages are delivered as they are.
1.11
1.12 @@ -94,7 +94,7 @@
1.13 if "-d" in sys.argv:
1.14 print msg
1.15 elif self.lmtp_socket:
1.16 - self.messenger.sendmail(original_recipients, msg.as_string(), self.lmtp_socket)
1.17 + self.messenger.sendmail(original_recipients, msg.as_string(), lmtp_socket=self.lmtp_socket)
1.18
1.19 def process_args(self, args, stream):
1.20