[REBOL] Email Attachments
From: mechtn:tkweb at: 12-Oct-2001 9:16
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: [mechtn--tkweb--net]
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: [mechtn--tkweb--net]
from: [mechtn--tkweb--net]
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