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:
<code>
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:ABCDE@/DN=22323232]'
message.Send
end
<code>

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

Cheers

···

--
Posted via http://www.ruby-forum.com/.

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/

···

--
Norio Suzuki

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

···

On 07/20/2011 12:04 AM, Shekar Ls wrote:

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:
<code>
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:ABCDE@/DN=22323232]'
message.Send
end
<code>

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

Cheers

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

···

2011/7/20 Shekar Ls <idealone5@hotmail.com>

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