edit: $/Dev10/feature/vsl_dynamic/Merlin/Main/Scripts/Bat/mail.rb;C585942
File: mail.rb
===================================================================
--- $/Dev10/feature/vsl_dynamic/Merlin/Main/Scripts/Bat/mail.rb;C585942  (server)    10/14/2008 2:36 PM
+++ Shelved Change: $/Dev10/feature/vsl_dynamic/Merlin/Main/Scripts/Bat/mail.rb;mailrb
@@ -65,19 +65,30 @@
 FormatPlainText = 1
 FormatHTMLText = 2
 FormatRichText = 3
+subject = "Code Review: #{shelveset}"
 
-outlook = WIN32OLE.new 'Outlook.Application'
-mail = outlook.CreateItem(0)
-mail.BodyFormat = FormatPlainText
-mail.Recipients.Add("IronRuby External Code Reviewers")
-mail.Attachments.Add(output_file)
-mail.CC = "ironruby-core@rubyforge.org"
-mail.Subject = "Code Review: #{shelveset}"
-
 body = <<-EOF
 tfpt review "/shelveset:#{shelveset};#{ENV['USERDOMAIN']}\\#{ENV['USERNAME']}"
 #{comments}
 EOF
+begin
+  outlook = WIN32OLE.new 'Outlook.Application'
+  mail = outlook.CreateItem(0)
+  mail.BodyFormat = FormatPlainText
+  mail.Recipients.Add("IronRuby External Code Reviewers")
+  mail.Attachments.Add(output_file)
+  mail.CC = "ironruby-core@rubyforge.org"
+  mail.Subject = "Code Review: #{shelveset}"
 
-mail.Body = body
-mail.Display
+  body = <<-EOF
+  tfpt review "/shelveset:#{shelveset};#{ENV['USERDOMAIN']}\\#{ENV['USERNAME']}"
+  #{comments}
+  EOF
+
+  mail.Body = body
+  mail.Display
+rescue WIN32OLERuntimeError
+  p subject, "/n"
+  p body, "/n"
+  p "attachment: #{output_file}", "/n"
+end
===================================================================
