Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] send/header to a group

From: ehacker:lucent at: 14-Mar-2001 17:20

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: [hacker--vudu--net][hacker2--vudu--net] blah blah blah Sending mail to [hacker--vudu--net][hacker2--vudu--net] connecting to: smtp1.ins.com ** User Error: Server error: tcp 553 malformed address: <[hacker--vudu--net] [hacker2--vudu--net]> ** 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 [hacker--vudu--net] Hacker is my real name. Please, no flames, no props... Just deal with it.