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 [email protected])
id 1H9IdS-0007W7-Ik; Tue, 23 Jan 2007 02:12:14 -0800
Date: Tue, 23 Jan 2007 02:12:14 -0800
From: “Mr. Example” [email protected]
Message-Id:
[email protected]
Subject: What’s New Today
Content-Type: text/html; charset=utf-8
Apparently-To: [email protected]
Apparently-To: [email protected]

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

On Jan 23, 2:40 pm, [email protected] wrote:

I noticed that bcc email address are actually visible in the body of an
email message.
[snip]
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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs