require 'net/smtp' msg = <<EOF Subject: Many things Text EOF Net:SMTP.start("smtp-server.fakedomain.com") do |smtp| smtp.sendmail(msg, "warlus@fake1.com", 'alice@fake2.org') end