[REBOL] Re: send/header command fails
From: ben:brannen:gm:ail at: 20-Aug-2009 10:03
I was able to narrow in on it a bit (after a good night sleep) and
using the trace/net on function. Thanks Graham.
at the command line:
header: system/standard/email
header/To: [ben.brannen-xxxxxxxxxxx.com]
>> probe header
make object! [
To: [ben.brannen-xxxxxxxxx.com]
CC: none
BCC: none
From: none
Reply-To: none
Date: none
Subject: none
Return-Path: none
Organization: none
Message-Id: none
Comment: none
X-REBOL: "View 2.7.6.3.1 http://WWW.REBOL.COM"
MIME-Version: none
Content-Type: none
Content: none
]
>>
>> send/header header/to "message" header
>>
>> probe header
make object! [
To: [ben.brannen-xxxxxxxx.com]
CC: none
BCC: none
From: {Benjamin Brannen (commercial) <ben.brannen-xxxxxx.com>}
Reply-To: none
Date: "Thu, 20 Aug 2009 09:54:25 -0500"
Subject: none
Return-Path: none
Organization: none
Message-Id: none
Comment: none
X-REBOL: "View 2.7.6.3.1 http://WWW.REBOL.COM"
MIME-Version: none
Content-Type: none
Content: none
]
>>
>> send/header header/to "message" header
** User Error: ESMTP: Invalid command
** Near: insert smtp-port reduce [from reduce [addr] tmp]
>>
>>
Notice the From line is being set. I'm trying to pre-set it to the
name of the server/website (configurable by a text file). However, it
won't let me set the From address. When I tried to disregard it, it
fails unless I set it back to 'none. But then it just sends out my
address - which makes no sense to the recipient.
Any suggestions?
-ben
On Wed, Aug 19, 2009 at 7:31 PM, Graham Chiu<compkarori-gmail.com> wrote: