It is:

  Net::SMTP.start('mail.my.com') do |smtp|
    smtp.send_message myMessage, 'postmaster / my.com', send_to
  end

My question is. Are you sure that em = cgi['email'] is a String object? 
Try to use em.to_s.

by
TheR
-- 
Posted via http://www.ruby-forum.com/.