Hi Petra - Welcome aboard!
The mailsend.r file is an example of using SEND with TRIM so that
preliminary blank lines are trimmed and the first line of text is used to
fill in the subject part of the email header. If you were to type
> do mailsend.r
the text in that script would actually be sent to the email addressee in
the script.
So, you should only read the script for advice on how to use SEND with
TRIM to send your own email.
For example, if you wanted to send me a thank-you for this advice (not
necessary!!) you'd type.
> send [EMAIL PROTECTED] trim {
Thanks!
Your reply was a big (or whateveer) help.
Sincerely, Petra. }
Note the {} enclose a STRING, which is the argument for the function TRIM,
which returns the trimmed string as the second argument for SEND.
To test the above, use your own email address instead of my address, and
look at what shows up in your inbox.
Have fun!
Russell [EMAIL PROTECTED]
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 26, 1999 10:35 PM
Subject: [REBOL] A REBOL newbie
> A REBOL newbie
> Would someone explain the difference between using send and using the
mailsend.r file? I've been in a tizzy all day over this. Thanks, Petra
>
>