Hi Team
I would like to know how to remove the cover page and the header ( showing from and to ) in python. Any help will be appreciated.
Here is the code im using to send
def send(self,file): # test.pdf
builder = self.rcsdk.create_multipart_builder()
builder.set_body({
'to': [{'phoneNumber': '+18885xxxxx'}],
'faxResolution': "High",
# 'coverPageText': "This is a demo Fax page from Python"
})
attachment = (file, open(file,'rb').read(), 'application/pdf')
builder.add(attachment)
request = builder.request('/account/~/extension/~/fax')
resp = self.platform.send_request(request)
print ('Fax sent. Message status: ' + resp.json().messageStatus)