[REBOL] Bcc?? Re:

2000-06-16 Thread sterling


An important note is that when yo uuse SEND, the [block of addresses]
is, by default, entirely Bcc.  If you want it to show up in the
destination email with the list of people you sent it to, you'll want
to use send/header and make a header object like below.  Then you'll
want to set the to field to the comma separated list of addresses:

send-to: [[EMAIL PROTECTED] [EMAIL PROTECTED]]
cc-to: [[EMAIL PROTECTED] [EMAIL PROTECTED]]
bcc-to: [[EMAIL PROTECTED] [EMAIL PROTECTED]]

header: make system/standard/email [
from: [EMAIL PROTECTED]
to: replace/all form send-to " " ", "
cc: replace/all form cc-to " " ", "
subject: "Message subject"
]

with any other headers you like.

Then:
send/header join join send-to cc-to bcc-to "message text" header

and it should be off.  And the other end sees that you sent the email
to two people, and cc'd two others while you actually sent it to 6.
If you want to add the Bcc header to the ones you Bcc'd, then just
mail those after and add the Bcc header field for them.

Bottom line is that REBOL is not trying to pretend to be an emailer.
You get to decide how you want your mail to look.  If you want an
extra reference, check out the %attach.r script on REBOL.org under the 
'email area of the script library.  I wrote that to send mail with
MIME attachements (looks like you're doing the same given that content 
type header) and it does what I've explained above.

Sterling

> HI,
> 
> does anyone know how to
> create a custom email header
> that includes Bcc.
> 
> This is what I tried:
> 
> 
> 
> tommy: reform [[EMAIL PROTECTED] [EMAIL PROTECTED]
> [EMAIL PROTECTED]]
> 
> 
> header: make system/standard/email [
>From: "[EMAIL PROTECTED]"
>Bcc: tommy
>MIME-Version: "1.0"
>Subject: "Thank-you  :)"
> Content-Type: join {multipart/mixed; boundary=}
> {"4F9F64BEEE5"}
> ]
> 
> 
> Thanks, timmy
> 
> 
> 




[REBOL] Bcc?? Re:

2000-06-16 Thread ralph

You need quotes around "Tommy" Timmy.

--Ralph
 
> 
> HI,
> 
> does anyone know how to
> create a custom email header
> that includes Bcc.
> 
> This is what I tried:
> 
> 
> 
> tommy: reform [[EMAIL PROTECTED] [EMAIL PROTECTED]
> [EMAIL PROTECTED]]
> 
> 
> header: make system/standard/email [
>From: "[EMAIL PROTECTED]"
>Bcc: tommy
>MIME-Version: "1.0"
>Subject: "Thank-you  :)"
> Content-Type: join {multipart/mixed; boundary=}
> {"4F9F64BEEE5"}
> ]
> 
> 
> Thanks, timmy
> 




[REBOL] Bcc??

2000-06-16 Thread tim781

HI,

does anyone know how to
create a custom email header
that includes Bcc.

This is what I tried:



tommy: reform [[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]]


header: make system/standard/email [
   From: "[EMAIL PROTECTED]"
   Bcc: tommy
   MIME-Version: "1.0"
   Subject: "Thank-you  :)"
Content-Type: join {multipart/mixed; boundary=}
{"4F9F64BEEE5"}
]


Thanks, timmy