Posted by Jim Guerber on July 03, 2007 at 10:19:12:
In Reply to: Re: FaxPrint DES program posted by Grant Foraker on July 03, 2007 at 07:02:51:
I don't think you need port 25. I really don't know about exchange myself. You are running a vb program that essentially connects with the fax server (exchange), fills in a bunch of things in the faxDocument structure, and then sends it to the fax server. If you look at form1.vb, the line:
JobID = objFaxDocument.ConnectedSubmit(objFaxServer)
is where the job gets submitted. Everything you send must be correct. The phone number is critical. If you are sending a body (this may be optional), the file must exist.
Line 33 says you have a file called c:\docs\fax.txt. Do you?
Try commenting that line out.
Try sending some text file you absolutely know you DO have.
In the file types folder option, make sure you have a valid "printto" command registered for text files. Mine is:
c:\windows\system32\notepad.exe /pt "%1" "%2" "%3" "%4"
As I said in a previous post, This is not easy, and full of pitfalls.