[REBOL] email object
From: chalz:earthlink at: 9-Sep-2002 22:54
I have a little question. If I were to copy system/standard/email into a
new email message, and set all of the headers in there, including the To:
field, can I send that object without specifying who it's to on the command
line? Ie, can I "send msg" rather than "send who msg"? I'm looking at REBOL
FOR DUMMIES, and I get this section (pg318):
You can fill in any of these header categories by using the /header refinement
to the send function.
<snip>
Here's an example:
>> send/header [ralph--abooks--com] "testing" make
system/standard/email [from: [ralph--abooks--com]
subject: "a unique subject line"]
I would like to be able to do something like:
msg: make system/standard/email []
msg/to: [someone--somewhere--com]
msg/cc: [another--somewhere--com]
msg/from: system/user/email
msg/subject: "A subject line"
msg/content: {Here's some content}
And then send that object without manually opening a port. Is there some
intermediary function, something between 'send' and 'open smtp://'? Thanks.
--Charles