Rebol Wizards,

I'm trying to use the send/header command to multiple addresses. According
to the sample script http://www.rebol.com/library/html/mailsendgroup.html
all I have to do is send to a block of addresses.

Here are the pertinent lines from my program:

receiver: to-block to-email ask "Mail To: "

header: make system/standard/email [
        From: sender
        Subject: subj
]
  print ["Sending mail to " receiver]
  send/header receiver message header


I have tried variations on the receiver command, but it seems that Rebol is
consistently adding < > to either end of whatever block or string gets
passed as the sender, and not the individual addresses. Is there a way to
fix this?

The errors I get from the SMTP server look like:

Mail To: [EMAIL PROTECTED] [EMAIL PROTECTED]

blah blah blah

Sending mail to  [EMAIL PROTECTED] [EMAIL PROTECTED]
connecting to: smtp1.ins.com
** User Error: Server error: tcp 553 malformed address:  <[EMAIL PROTECTED]
[EMAIL PROTECTED]>
** Near: insert port reduce data

Obviously I want the < and > around each address individually, but I can't
seem to get there.

Thank you,
«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
Eric Hacker, CISSP, GCIA                     [EMAIL PROTECTED]

Hacker is my real name. Please, no flames, no props...
Just deal with it.



-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to