[REBOL] Send and email obj
From: chalz::earthlink::net at: 6-Mar-2003 15:43
Okay, I'm getting beyond frustrated here with this thing.
system/user/email: [me--me--net]
system/user/name: "Me"
outmsg: make system/standard/email [
From: [me--me--net]
To: [[me--me--net]]
BCC: "[person1--me--net], [person2--you--net]"
Reply-To: [me--me--net]
Subject: "New Message"
]
mesg: {This is a test message.}
send/header outmsg/to mesg outmsg
Yes, I have to use "email, email" for BCC, otherwise .. I don't know how
rebol formats it, but my mail server tells me:
** User Error: Server error: tcp 550 Syntax error in 'BCC' header: malformed
address: [person2--you--net]\n may not follow [person1--me--net] : failing address is:
[person1--me--net][person2--you--net]
** Near: insert port reduce data
So, with the above bit, the only person listed who receives it is [me--me--net].
This might be a matter of my mail server's spam filtering mechanism, but I
don't know. And even then, it doesn't insert the system/user/name, just uses
the From: field. I've tried setting From: to include the name and email
address to the best of my understanding of RFC822, Standard for the Format of
ARPA Internet Text Messages.
Now, I try using CC instead of BCC, and still, the message only gets to the
To: recipient.
I set To: [[me--me--net][person1--me--net][person2--you--net]] and it gets fun.
[Me--me--net] gets the message. person1 and person2 don't; in fact, they don't
even show up in the To: field of the received email. I'm somewhat sure this
isn't the mail server's doing, but not 100%, of course.
Has *anyone* mastered send and the email object yet? I can't even get it to
let me use multiple refinements, such as /header and /only. Please?
--Charles