>>>>> "C" == Carl Youngblood <carlyoungblood / email.com> writes:

C> I'm trying to send a BCC email in Ruby like this:

 put the address in #ready()

C> require 'net/smtp'

C> smtp = Net::SMTP.new('mail.csolutions.net')
C> smtp.start
C> smtp.ready('carlyoungblood / email.com', 'carlyoungblood / bigfoot.com') do
C> |a|

 smtp.ready('carlyoungblood / email.com', 'carlyoungblood / bigfoot.com',
            'cyoungblood / csolutions.net') do

C>  a.write "To: Carl Youngblood <carlyoungblood / bigfoot.com>\r\n"
C>  a.write "From: Carl Youngblood <carlyoungblood / email.com>\r\n"
C>  a.write "BCC: Carl Youngblood <cyoungblood / csolutions.net>\r\n"

 Don't put this field, otherwise this is not a Bcc :-)

C>  a.write "Subject: Testing\r\n"
C>  a.write "\r\n"
C>  a.write "This is a test"
C> end



Guy Decoux