Besides Andrew's fine example, if it heldps, here is my very nearly
trivial mailing list script. 

The message to send and email list are kept as separate files. 
{

REBOL[ Title: "A Mailing List" ]
; - Load mailing list
alist: make block! load %alist.txt
; - Setup Header
aheader: make system/standard/email [
 From: "YOU <[EMAIL PROTECTED]>"
 Subject: "SUBJECT"
]
; - Send it 
send/header alist read %alistmsg.txt aheader
quit

}

The %alistmsg.txt is just a plain text file with the message, formatted
as you would like to send it. The %alst.txt is another plain test file
with an email address on each line.

[EMAIL PROTECTED]
[EMAIL PROTECTED]

and so forth. 

HTH.

-Ted.

Reply via email to