The initial question that occurred to me is why you are trying to automate the sending of an email with Outlook Express. Why not leverage Ruby to send the email without the additional complexity of trying to figure out how deal with Outlook Express. Bringing Outlook Express into the equation just seems painful to me.
Beyond that, to address your original question, it might help to break down the problem into manageable parts. First, create a script to send a simple email.then, start worrying adding the complexity of sending content from a log file. Jason From: [email protected] [mailto:[email protected]] On Behalf Of prasoona alluri Sent: Thursday, March 05, 2009 5:35 AM To: [email protected] Subject: [wtr-general] Re: How to send a mail from outlook express using watir Thank for the reply. But i am facing the following error `initialize': unknown OLE server: `Outlook.Application' (WIN32OLERuntimeError) for the following statement require 'win32ole' outlook = WIN32OLE.new('Outlook.Application') Thanks On Thu, Mar 5, 2009 at 5:12 AM, Walter Kruse <[email protected]> wrote: This is for Outlook, but maybe it can help: http://rubyonwindows.blogspot.com/search/label/outlook _____ Date: Thu, 5 Mar 2009 04:40:02 -0600 Subject: [wtr-general] How to send a mail from outlook express using watir From: [email protected] To: [email protected] Hello, Please help me to delvelop a script for sending a mail from outlook express using watir. The message text should be read from a log file . Thanks in advance. -Prasoona _____ See all the ways you can stay connected to friends and family <http://www.microsoft.com/windows/windowslive/default.aspx> <br --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
