Send Fax from a Linux Box

Hi All,
I am looking for a solution to send multiple emails to a fax
address from linux box.
Right now my code looks like below on a windows box:

require ‘win32ole’
for i in 1…25 do
outlook = WIN32OLE.new(‘Outlook.Application’)
message = outlook.CreateItem(0)
message.Subject = ‘bla Bla Bla’
message.Body = ‘test123’
message.To = ‘[RFAX:[email protected]/DN=22323232]’
message.Send
end

How do i implement the same stuff on a linux Box, so that i can run it
with on a command line.

Cheers

Hi

This might not be you are looking for but sendfax in mgetty is my
first choise to send FAX from linux box. As the name shows mgetty is
replacement of getty TTY control program and sendfax control modem to
send fax.

Another new and easy stuff is efax. I am not familiar with this.
please ask to Google for detail.

Ref. http://mgetty.greenie.net/

You can use net/smtp to directly send mails from your script without
going trough outlook first.
http://ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/classes/Net/SMTP.html

2011/7/20 Shekar Ls [email protected]

Hi All,
I am looking for a solution to send multiple emails to a fax
address from linux box.

Try: hylafax. You can easily integrate sending emails to fax via gateway
and
net/smtp library.