--- a/iro/user.py Sun Feb 07 05:12:31 2010 +0100
+++ b/iro/user.py Sun Feb 07 05:12:57 2010 +0100
@@ -87,11 +87,15 @@
return id
- def startFAX(self,provider="default"):
+ def startFAX(self,subject, fax,provider="default"):
+ '''
+ starts the FAX with the pdf file fax and the subject
'''
- starts the FAX - not implemented
- '''
- raise NotSupportedFeature("fax")
+ if not "fax" in self.features:
+ raise NotSupportedFeature("fax")
+ id = self.jobqueue.newFAX(subject, fax,recipients,provider)
+ self.jobs[id]=self.jobqueue[id]
+ return id