Giter Club home page Giter Club logo

faxsync's Introduction

FaxSync

Windows faxes are not stored in the filesystem like normal systems do, so you have to do an entire song and dance to get all faxes on a machine.

This should build a FaxSync.exe executable, which can then be used to either extract the last N days of faxes (default 1 week):

> FaxSync.exe \\myfaxserver 10

Or you can show some information about the fax server

> FaxSync.exe \\myfaxserver info

Creating a windows fax service api client in VB

Don't do this.

I cannot stress that enough--do not do this. It's a soul crushing journey through incomplete documentation, old Windows APIs, and boneheaded design decision.

If you do, here are some notes:

  • Faxes on windows are handled by an archaic API. Inbound faxes are hidden on the filesystem, locked away in a proprietary database.
  • Access is provided through the FAXCOMEXLib .COM library, which you can use through .NET systems
  • An example is provided from the MS docs (see second link below). This is helpful, but:
    • Note that to use this, you must enable the FAXCOMEXLib .COM reference. See Project Explorer > References > Add Reference
    • The specific reference is "Microsoft Fax Service Extended COM Type Library", version 1.0. Something tells me there won't be a version 2.0.
    • You'll also need to add a Imports FAXCOMEXLib to the top of the file.
    • Skip the line which has the objFaxServer.Folders.IncomingArchive.Refresh() method, this will fail with 0x80070032 Operation Failed.
      • Googling this will not help. Why is it there? Why is it like this? A mystery lost to the ages.
  • FaxIncomingMessage's TransmissionStart date does not exist. It's an invalid date.
  • (At least with our fax system), FaxIncomingMessage's SenderFaxNumber doesn't exist, rather it's a part of the CallerId string

Useful links:

faxsync's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.