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! [ To: [[email protected]] 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: [[email protected]] CC: none BCC: none From: {Benjamin Brannen (commercial) <[email protected]>} 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<[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]> wrote: >> >> 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 =A0 =A0 =A0 =A0;;works >> >> if I set: >> header/Subject: "any change here or" =A0 =A0 =A0 =A0;; fails >> header/From: "[any change here or]" =A0 =A0 =A0 =A0;; fails >> header/Content: "any change here" =A0 =A0 =A0 =A0;; 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. >> >> > > > > --=20 > 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.
