Exposing your BCC list using Rebol 'send
[1/2] from: bkalef:sympatico:ca at: 20-Oct-2001 0:03
Is there a way to have rebol not show BCC information in the 'internet
header' of mail programs?
I recently wrote a small script in rebol to allow me to send bulk email to a
very large email distribution list. The program would make groups of users
from the list and send the entire group using the BCC field. The obvious
question - why not just send each user their own personallized email? I was
trying to replicate the manual process we used in the office and didn't
really think of how to 'do this properly' with a program. I instead
replicated the process and created a problem.
What happened? Well, it appears that Rebol doesn't parse the BCC field
properly and it is therefore available to be seen by a relatively smart
user.
I use Outlook at work. Try sending yourself a mail message, where you are
the TO: person and the BCC: person. Then when you receive the email open it
and select the View>Options and check out the Internet Header section. From
outlook, there is no reference to a BCC field just the TO field. Now try my
little script below and check your mail using the same method indicated
above (for Outlook).
send/only/header [[email1--domain--com][email2--domain--com]] "Test message" make
system/standard/email [bcc: [[email1--domain--com][email2--domain--com]]
subject: "Test data"
date: now
]
This time, if yours worked as mine did you will see a BCC field with your
users listed out for a savvy computer user to use in SPAM if so desired.
Are your results the same as mine?
Is this a bug or is this the way this should work? As I said before -
Outlook didn't display this BCC?
Brock
[2/2] from: g::santilli::tiscalinet::it at: 20-Oct-2001 14:23
Hello Brock!
On 20-Ott-01, you wrote:
BJ> Is there a way to have rebol not show BCC information in the
BJ> 'internet header' of mail programs?
REBOL's SEND functions actually does not parse the header at all.
To do what you want you can try using:
send/only/header [[recipient1--mail--com][recipient2--mail--com] ...] {
Email content
} make system/standard/email [
From: "Me <[me--somewhere--com]>"
To: "Someone <[someone--somewhere--com]>"
Subject: "Email subject"
]
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/