#!/usr/bin/env ruby a = ("a".."z").to_a a += ("A".."Z").to_a a += (0..9).to_a foo = (((0..199).to_a.map do |i| a.sample.to_s end).join) main_text = < To: gregorycohenvideos@gmail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="#{foo}" --#{foo} Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit\n\nMessage\n EOF for arg in ARGV; file_text = File.read arg if file_text == foo raise end main_text += <