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

send/header to a group

 [1/2] from: g:santilli:tiscalinet:it at: 15-Mar-2001 17:41


Eric Hacker wrote:
> receiver: to-block to-email ask "Mail To: "
^^^^^^^^ The problem is with that TO-EMAIL above. You are converting the user input (a string) to ONE email! value. Just removing it should solve your problem. HTH, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

 [2/2] 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.