ciao, sto cercando di mandare dei fax utilizzando la FAXCOMExLib. Il problema è che funziona solo se il body lo carico da un file di testo, mentre a me serve caricarlo da un pdf (ma ho provato anche con html e word, niente da fare)

Ho installato Acrobat Reader, ma quando lancio la procedura la pagina si blocca per un bel po' di tempo e alla fine va in timeout (quando invece per mandare un txt ci impiega pochi secondi) e nei processi vedo che c'è l'acrobat reader ma non succede niente, non dà segni di vita!

consigli ?

questo è il codice che uso


grazie

codice:
        Dim objFaxDocument As New FAXCOMExLib.FaxDocument
        Dim objFaxServer As New FAXCOMEXLib.FaxServer
        Dim JobID As Object

                'Connect to the fax server
                objFaxServer.Connect("ilmioserver")

                'Set the fax body
                objFaxDocument.Body = Server.MapPath(".") & "\prova.pdf"

                'Name the document
                objFaxDocument.DocumentName = "PROVA"

                'Add the recipient with the fax number 12225550100
                objFaxDocument.Recipients.Add("045xxxxxx", "Destinatario")

                'Choose to attach the fax to the fax receipt
                objFaxDocument.AttachFaxToReceipt = True

                'Provide the address for the fax receipt
                objFaxDocument.ReceiptAddress = "mail@yahoo.it"

                objFaxDocument.Subject = "PROVA"

                'Submit the document to the connected fax server
                'and get back the job ID.

                JobID = objFaxDocument.ConnectedSubmit(objFaxServer)

                Response.Write(JobID(0))

                objFaxServer.Disconnect()