equal
deleted
inserted
replaced
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: |