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
>