This works if you have the CDOEX.DLL on you machine.

 

require 'win32ole'

 

cdoMail = WIN32OLE.new("CDO.Message")

 

cdoMail.From = "[EMAIL PROTECTED]"

cdoMail.To = "[EMAIL PROTECTED] "

cdoMail.Subject = "This is a test"

cdoMail.TextBody = "This is a test"

cdoMail.Send

cdoMail = nil

 

--Mark


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tuyet Cong-Ton-Nu
Sent: Tuesday, July 26, 2005 6:14 PM
To: [email protected]
Subject: [Wtr-general] Sending Email Notifications

 

After a test has finished running, is there a way to send out an email notification to several people to notify them whether the test has passed or failed?

We use blat.exe for our SilkTest application to send out emails.  What options do we have for WATIR/Ruby?

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to