sorry .... forgot to answer the original question:
whats the difference with trace/net on?
(series of 'xx' replace private data)
---------------------------------------------------
>> probe header
make object! [
To: [[email protected]]
CC: none
BCC: none
From: none
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
]
>>
>>
>> trace/net on
>> send/header header/to "message" header
Net-log: ["Opening" "tcp" "for" "esmtp"]
Net-log: [none "220"]
Net-log: {220 xxxxxxxxxxxxxxxxxxxxxxxxxx}
Net-log: [["EHLO" system/network/host] "250"]
Net-log: "250-xxxxxxxxxxxxxxxxxxxxxxxx"
Net-log: "250-AUTH LOGIN"
Net-log: "250-8BITMIME"
Net-log: "250 SIZE"
Net-log: ["Supported auth methods:" [login]]
Net-log: ["MAIL FROM: <[email protected]>" "250"]
Net-log: "250 Ok"
Net-log: ["RCPT TO: <[email protected]>" "250"]
Net-log: "250 Ok"
Net-log: ["DATA" "354"]
Net-log: {354 Enter mail, end with "." on a line by itself}
Net-log: [none "250"]
Net-log: "250 Ok"
Net-log: ["QUIT" "221"]
Net-log: {221 xxxxxxxxxxxxxxxxxxxx Closing transmission channel}
>> send/header header/to "message" header
Net-log: ["Opening" "tcp" "for" "esmtp"]
Net-log: [none "220"]
Net-log: {220 xxxxxxxxxxxxxxxxxxxx, Inc. All rights reserved. Read
y}
Net-log: [["EHLO" system/network/host] "250"]
Net-log: "250-xxxxxxxxxxxxxxxxxxxxxxx"
Net-log: "250-AUTH LOGIN"
Net-log: "250-8BITMIME"
Net-log: "250 SIZE"
Net-log: ["Supported auth methods:" [login]]
** User Error: ESMTP: Invalid command
** Near: insert smtp-port reduce [from reduce [addr] tmp]
>>
however, if I pre-set the From address I receive the same error.
------------------------------------
On Thu, Aug 20, 2009 at 10:03 AM, Ben Brannen<[email protected]> wrote:
> 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: [[email protected]]
>>> probe header
> make object! [
> =A0 =A0To: [[email protected]]
> =A0 =A0CC: none
> =A0 =A0BCC: none
> =A0 =A0From: none
> =A0 =A0Reply-To: none
> =A0 =A0Date: none
> =A0 =A0Subject: none
> =A0 =A0Return-Path: none
> =A0 =A0Organization: none
> =A0 =A0Message-Id: none
> =A0 =A0Comment: none
> =A0 =A0X-REBOL: "View 2.7.6.3.1 http://WWW.REBOL.COM"
> =A0 =A0MIME-Version: none
> =A0 =A0Content-Type: none
> =A0 =A0Content: none
> ]
>>>
>>> send/header header/to "message" header
>>>
>>> probe header
> make object! [
> =A0 =A0To: [[email protected]]
> =A0 =A0CC: none
> =A0 =A0BCC: none
> =A0 =A0From: {Benjamin Brannen (commercial) <[email protected]>}
> =A0 =A0Reply-To: none
> =A0 =A0Date: "Thu, 20 Aug 2009 09:54:25 -0500"
> =A0 =A0Subject: none
> =A0 =A0Return-Path: none
> =A0 =A0Organization: none
> =A0 =A0Message-Id: none
> =A0 =A0Comment: none
> =A0 =A0X-REBOL: "View 2.7.6.3.1 http://WWW.REBOL.COM"
> =A0 =A0MIME-Version: none
> =A0 =A0Content-Type: none
> =A0 =A0Content: 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. =A0I'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. =A0When I tried to disregard it, it
> fails unless I set it back to 'none. =A0But 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<[email protected]> wrote:
>>
>> What happens when you do a trace/net on ?
>> What's the difference?
>>
>> On Thu, Aug 20, 2009 at 9:06 AM, Ben Brannen<[email protected]> wrot=
e:
>>>
>>> I've been trying to incorporate some email into a program I've written
>>> that checks web-sites.
>>>
>>> header: system/standard/email
>>> header/To: [email protected]
>>>
>>> send/header header/to "message" header =3DA0 =3DA0 =3DA0 =3DA0;;works
>>>
>>> if I set:
>>> header/Subject: "any change here or" =3DA0 =3DA0 =3DA0 =3DA0;; fails
>>> header/From: "[any change here or]" =3DA0 =3DA0 =3DA0 =3DA0;; fails
>>> header/Content: "any change here" =3DA0 =3DA0 =3DA0 =3DA0;; fails
>>> --have not tried changing other lines yet
>>>
>>> fails with:
>>> ** User Error: ESMTP: Invalid command
>>> ** Near: insert smtp-port reduce [from reduce [addr] tmp]
>>>
>>> using sdk 2.7.6 rebolcmdview
>>>
>>> -ben
>>> --
>>> To unsubscribe from the list, just send an email to
>>> lists at rebol.com with unsubscribe as the subject.
>>>
>>>
>>
>>
>>
>> --=3D20
>> Graham Chiu
>> http://www.synapsedirect.com
>> Synapse - the use from anywhere EMR.
>> --
>> To unsubscribe from the list, just send an email to
>> lists at rebol.com with unsubscribe as the subject.
>>
>>
>
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.