script - How to automate sending faxes on Windows 7?

26
2013-08
  • GJ.

    I need some way to remotely send files for faxing by a Win7 machine.

    One of the ideas I had is to use a shared dropbox folder in which I can put files which have the destination phone number as the beginning of their filename. Then, some script would monitor this folder for new files and as soon as one is founds, extract the phone number and send out the fax to that number.

    Is anything like this readiily possible with some existing tools? Aletrnatively, can you think of other approaches for achieving the same end result (namely, allowing remote faxing) ?

  • Answers
  • DerfK

    I've been working on something like that myself. With the cost of internet faxing services, it seems a whole lot cheaper to just have everything faxed from my own phone line (especially for local calls).

    Windows Fax & Scan can be run using COM if you have a bit of programming experience. I found this script here (use the "XP And Above" one) that I started with. The real problem is that there's very little by way of comprehensive documentation on the service that can be read through beginning to end. I'm sure everything is buried in the nest of links in the MSDN documentation, but it's a better reference than an explanation. At least I found a second example here.


  • Related Question

    ubuntu - Sending mail from the command line, in an automated way
  • jfmessier

    I want to be able to send a text file through an SMTP server of my ISP (port 25) to an email address on the internet, like my Office email address, or my GMail address. I have a basic Ubuntu 9.04 server setup on my DSL connection.

    How can I use, say, Postfix, to send the .LOG file, on a bash script ? What would be the packages to install on that server, given it was never used to send email in the past ?

    Thanks :-)


  • Related Answers
  • dertoni

    SendEmail seems like a nice tool for that. From what I get from the documentation it would be just a call like this:

    sendEmail -f <myadress> -t <destination> -u <subject> -m <message> -a <pathtofile> -s <serveradress> -xu <username> -xp <password>
    
  • innaM

    Another option is the ssmtp package. Since it's a sendmail emulator, it is highly compatible with all kinds of stuff that might want to send email.