Hey, This is Koie again working on this email attachments. I have finally figured it 
out and am making progress with learning how to send email and such. My question is i 
want the program to prompt me on what file name to attach and then it send.. currently 
my program looks like...

rebol
 [
   Title:   "Emailer that sends attachments"
   Author:  "Koie Smith"
   Date:    5-Oct-2001
   File:    %koie.r
   Purpose: {
        A simple script, which uses the e-mail capabilities 
        along with attach.r to send attachments.
    }
  ]
system/user/email: [EMAIL PROTECTED]
system/schemes/default/host: "mail.networktel.net"
do %attach.r
if (mesg: ask "Please Enter Message: ") = "" [mesg: "(None)"]
lv-header: make system/standard/email
[
    Subject: "New Order"
    to: [EMAIL PROTECTED]
    from: [EMAIL PROTECTED]
    date: to-idate now
    Content-Type: {text/plain; charset="iso-8859-1"}
]
lv-att: [%test.doc]
mail mesg lv-header lv-att



Thanks Guys for the help!
Koie Smith

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

Reply via email to