[EMAIL PROTECTED] wrote:
> pekr wrote:
> > I would like REBOL Tech. to remove default behavior of inserting
> subject line once again in the message body. I know it was discussed at
> least once, but looking at source of 'send, it clearly shows, the
> philosophy is broken :-)))
>
> pekr wrote:
> > Hehe, driving a car it came to my mind maybe my thoughts are broken
> :-), as on the other hand, once someone wants to send only some txt
> file, how to specify subject? So taking back my words, as 'send makes
> sense here ...
>
> How about:
> send/subject Email-Address My-Message "My subject line is this!"
Yes, I was thinking something along the lines, but not sent it here, as I've created
enough mess with my message not too well thought out :-))
send/subject email-address "My subject line" was my solution .... no need for the
body ... subject only ... but well, your solution is more general ...
also ... in my opinion ... send/header is just messy aproach ...
send/header email-address "text" header-obj ...
'send still requires email-address and "text" to be set, duplicating entries in
header-obj
Now look:
-------------
header: make system/standard/email [
from: [EMAIL PROTECTED]
to: [EMAIL PROTECTED]
Date: to-idate now
Subject: "So this is subject ...."
Body: "And this should be one and only body"
]
send/header [EMAIL PROTECTED] {Is this subject line going to be used?
OK, pressed enter - is this body going to be used?} header
Subject: So this is subject ....
Date: Mon, 15 Nov 1999 6:35:49 +0100
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Is this subject line going to be used?
OK, pressed enter - is this body going to be used?
Aaargh .... 'Subject line of header object is going to be used ..... OK, now,
'Body of header object is going to be overriden ....
What's more - body of email contains part of text, supposed to serve as subject
....
send/header header-obj should be the syntax - specify everything inside the object
... But well, I am not sure REBOL is capable of missing some arguments to functions
....
-pekr-
>
> ? ^_^
>
> Andrew Martin
> [EMAIL PROTECTED]
> http://members.xoom.com/AndrewMartin/
> Online @ 33,600 Baud!
> -><-