[REBOL] Re: Saveing mail
From: phil:bevan:mail:tesco at: 28-May-2001 10:43
Hi Brett,
This was just what I needed ....
I have been working on a "micro" Mail client that I can use when I am not at home.
It has been especially usefull for kepping up to date on this mailing list and not having
to read hundreds of messages when I arrive back home !!!
Cheers Phil
----------------------
Another thought having looked at it for more than a few seconds :)
Without resorting to modifying the send function you could provide your own
header object using the refinement /header
And do something like this:
email-header: context [
from: [moi--codeconscious--com]
to: [rebol-list--rebol--com]
date: to-idate now
subject: "Saving email"
]
email-message: {Another thought having looked at it for more than a few
seconds. :) }
send/header email-header/to email-message email header
write %saved-email.eml join net-utils/export email-header ["^/"
email-message]
Hope this is more helpful.
Brett