[REBOL] Re: Morpheus (was: set-net question. No, TWOquestions)
From: deadzaphod:flyingparty at: 30-Oct-2001 4:20
> Setting headers like this is a bit dumb. I even feel that 'send should be
> simpler. When I want to send an email with, say "X-diddely-do: hello!" in
> the header, I am forced to make a complete header-object, thus:
>
> send/header [hallvard--ystad--helpinhand--com] "test" make object!
> [X-diddely-do: "hello!" from: none to: none date: none]
>
> The three nones are there for rebol to use my default settings. A simpler
> and more reasonable way to do it, in my opinion, would be like this:
>
> send/header [hallvard--ystad--helpinhand--com] "test" [X-diddely-do: "hello!"]
well, we can already do:
send/header [hallvard--ystad--helpinhand--com] "test" make
system/standard/email [X-diddely-do: "hello!"]
it might be better if send/header did the make implicitly, but this isn't
too bad (once you find the standard email object).
Cal