bcc's visible in message? using actionmailer and smtp

Hey everyone,

I'm not highly skilled in email processing.

I noticed that bcc email address are actually visible in the body of an
email message.

Here is a portion of the source of the message. I've tried to obfuscate
parts to protect privacy. If I need to provide more so that you can
diagnose this problem, please let me know. I've changed the domain to
exampledomain.com.

Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
  by beta.eblock.net with esmtp (Exim 4.63)
  (envelope-from <example@exampledomain.com>)
  id 1H9IdS-0007W7-Ik; Tue, 23 Jan 2007 02:12:14 -0800
Message-Id:
<45b5df7e79b40_70e01577a3d617501f6@beta.exampledomain.com.tmail>
Content-Type: text/html; charset=utf-8
Apparently-To: <railsinator@gmail.com>
Apparently-To: <bogus_email@gmail.com>

Note the "Apparently-To" lines. These addresses were provided to the
mailer as bcc's.

  def notification(mh_data, oec_data, ocn_data, addresses, sender,
sent_at = Time.now)
    subject 'What\'s New Today'
    body :mh_data=>mh_data, :oec_data=>oec_data,
:ocn_data=>ocn_data
    bcc addresses
    from sender
    sent_on sent_at
    content_type "text/html"
  end

Is there a way to hide the bcc addresses?

Thanks,

-Kelly

I noticed that bcc email address are actually visible in the body of an
email message.

[snip]

Note the "Apparently-To" lines. These addresses were provided to the
mailer as bcc's.

  def notification(mh_data, oec_data, ocn_data, addresses, sender,
sent_at = Time.now)
    subject 'What\'s New Today'
    body :mh_data=>mh_data, :oec_data=>oec_data,
:ocn_data=>ocn_data
    bcc addresses
    from sender
    sent_on sent_at
    content_type "text/html"
  end

Is there a way to hide the bcc addresses?

You need to provide at least a "to" otherwise it will expose the bcc's.
Often people will use their own "no-reply" address as both the from
and the to, when you need to hide the bccs.

Eric

Thanks very much. That solved the problem.

-Kelly