iro/offer/smtp.py
branchdevel
changeset 218 91f87ad13540
parent 186 b381eaa774ab
child 220 602720314930
--- a/iro/offer/smtp.py	Mon Mar 05 23:51:56 2012 +0100
+++ b/iro/offer/smtp.py	Mon Mar 05 23:52:29 2012 +0100
@@ -33,7 +33,7 @@
             "SSL":Option(vBool,long="use SSL for connection to MTA", default=False),
             })
 
-    def send(self,mail,recipient):   
+    def send(self, recipient, mail):   
         if not self.testmode:
             if self.SSL:
                 smtp = smtplib.SMTP_SSL(self.host,self.port)