From: hipster Date: 2001-08-20T21:24:58+09:00 Subject: [ruby-talk:20019] Re: Anyone know how to send a BCC e-mail in Ruby? On Mon, 20 Aug 2001 21:18:22 +0900, Carl Youngblood wrote: > I'm trying to send a BCC email in Ruby like this: > > require 'net/smtp' > > smtp = Net::SMTP.new('mail.csolutions.net') > smtp.start > smtp.ready('carlyoungblood@email.com', 'carlyoungblood@bigfoot.com') do |a| > a.write "To: Carl Youngblood \r\n" > a.write "From: Carl Youngblood \r\n" > a.write "BCC: Carl Youngblood \r\n" ^^^ shouldn't that read 'Bcc'? > a.write "Subject: Testing\r\n" > a.write "\r\n" > a.write "This is a test" > end > > The email works, but I never get the BCC. Any ideas as to what's wrong? HTH, Michel