Downloaded the mailfile.r script from rebol.com (I believe). It worked on
my PC on a network (W95). I copied the script to my Linux machine
(RAQ2/mips) and I can't get it to work for love nor money! It persists in
sending me the script instead of the file!
My command on Linux is:
$rebol mailfile.r readme.txt
- where readme.txt is in the current directory and mailfile.r is in
./rebol off the current directory.
rebol runs and sends me the mailfile.r script.
What am I doing wrong? Something silly, obvious and stupid, obviously!
- fleet -
(so noone will need to go look it up - here is the script as I have it for
my machine.)
REBOL [
Title: "Email a Text File"
File: %mailfile.r
Date: 10-Sep-1999
Purpose: {Send a text file (as text of message).}
Note: {
Puts the name of the file in the subject line.
}
]
file: %mailfile.r ;name of file to send
send [EMAIL PROTECTED] reform [
"File:" file newline newline read file
]