Why do I see two documents retrieved for a single job Id from JobDocumenTransmit function?
One in HTML and other in PDF file formats.
You get back all of the documents in the job, it can be any number of them.
I have sent just one document in that job, but when I retrieve there are two.
Do you have the job number and system you sent it to.
Job Number is 1700123025.
I am submit to the test system (https://test2messaging.easylink.com/soap/sync).
Are you sure you got a HTML and PDF, not a Tiff and PDF?
Yes, I see HTML as doctype in the response. Attached is the response.
That is normal for a Fax2Mail job. The HTML is the body containing the senders fax #, date/time and number of pages, etc. The PDF, or a Tiff, depending on your Profile settings, is the attachment.