[REBOL] Re: Saveing mail
From: brett:codeconscious at: 23-May-2001 18:33
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