|
OK, I figured out why it didn’t work, the SMTP name
was wrong. But it’s working now. Here is the code that worked: require 'net/smtp' msgstr = "This is a test email message" # using block form of SMTP.start Net::SMTP.start('isis.msci.com', 25) do
|smtp| smtp.send_message msgstr,
"[EMAIL PROTECTED]", ["[EMAIL PROTECTED]",
"[EMAIL PROTECTED]"] end Thanks! |
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
