iro/user.py
changeset 29 49ffb1f6cdbf
parent 27 e33b90f96e0f
parent 26 f6eb3f425b0c
child 30 5253631a8dd3
equal deleted inserted replaced
28:cf54cc3373f2 29:49ffb1f6cdbf
    85         id = self.jobqueue.newSMS(message,recipients,provider)
    85         id = self.jobqueue.newSMS(message,recipients,provider)
    86         self.jobs[id]=self.jobqueue[id]
    86         self.jobs[id]=self.jobqueue[id]
    87         return id
    87         return id
    88     
    88     
    89     
    89     
    90     def startFAX(self,provider="default"):
    90     def startFAX(self,subject, fax,provider="default"):
    91         '''
    91         '''
    92         starts the FAX - not implemented
    92         starts the FAX  with the pdf file fax and the subject
    93         '''
    93         '''
    94         raise NotSupportedFeature("fax")
    94         if not "fax" in self.features:
       
    95             raise NotSupportedFeature("fax")
       
    96         id = self.jobqueue.newFAX(subject, fax,recipients,provider)
       
    97         self.jobs[id]=self.jobqueue[id]
       
    98         return id
    95 
    99 
    96     
   100     
    97         
   101         
    98     def startMail(self,subject,  body , recipients,provider="default"):
   102     def startMail(self,subject,  body , recipients,provider="default"):
    99         if not "mail" in self.features:
   103         if not "mail" in self.features: