"FaxComEx.FaxDocument.1 Operation failed" when ConnectedSubmit

Joined
Oct 17, 2007
Messages
1
Reaction score
0
The Fax Server Is On Windows 2003. My account is Admin. The Fax is added as printer and shared. I don't understand where is the problem. Any idea?

IF FILE("&MyDocFile")
objFaxServer=
Createobject("FAXCOMEX.FaxServer")
IF TYPE('objFaxServer') = "O"
oSERVERNAME = "MyServerName"
objFaxServer.CONNECT(oSERVERNAME)
objFaxDocument=Createobject("FAXCOMEX.FaxDocument")
IF TYPE('objFaxDocument') = "O"
objFaxDocument.Body = "&MyDocFile" && also tried with TXT file.

objFaxDocument.Recipients.Add("9991234567")
lcJobId = objFaxDocument.ConnectedSubmit(objFaxServer) && error occurs here.
ENDIF
ENDIF
ENDIF





 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top