[REBOL] initializing system/standard/email
From: tim-johnsons::web::com at: 4-Aug-2006 15:35
Seeing some weird problems with 'send...
Partial, but working code:
to-addr: to-email email ;; cast 'email to email data type
to-envelope: make system/standard/email[
;; OOPS! error is thrown
Server error: tcp 553 5.0.0 <>... User address required
a dump of probe to-envelope looks like this:
make object! [
To: test-johnsons-web.com ;; looks like email! to me...
Subject: "Boreal Imagery Receipt FOR TESTING PURPOSES ONLY."
X-REBOL: "Core 22.214.171.124.2 http://WWW.REBOL.COM"
solution (in the block):
To: to-email to-addr ;; to-email was already applied!
I would welcome some observations or opinions about this.
On a further note, I made a copy of 'send, used it in my source
and put in debugging stubs. I could see that at the following
if not show [insert clear header-obj/to addr]
;; 'addr is being 'clear'ed
I really love rebol, but I use python also. I have *never*
had legacy python code break with a new installation.
:-) Inquiring minds want to know.
problem with the 'make action value?
Tim Johnson <tim-johnsons-web.com>