ESMTP: Invalid command with send/header
[1/3] from: tim-johnsons::web::com at: 16-Jul-2006 15:18
I've been using the following code for years, now it is breaking with
the installation of 2.6.2.4.2
I have an "envelope" that looks like this:
envelope: make object! [
To: "test-johnsons-web.com"
CC: none
BCC: none
From: "info-housesitters4u.com"
Reply-To: none
Date: none
Subject: "Link to the House Sitters 4u Registration Form"
Return-Path: none
Organization: none
Message-Id: none
Comment: none
X-REBOL: "Core 2.6.2.4.2 http://WWW.REBOL.COM"
MIME-Version: none
Content-Type: none
Content: none
]
'envelope was composed as follows:
envelope: make system/standard/email[
To: email-address
From: from-address
subject: rejoin ["Link to the " client-title " " _subject]
]
and now the following code:
send/header test-johnsons-web.com "hello" envelope
results in the following error:
** User Error: ESMTP: Invalid command
** Near: insert smtp-port reduce [from reduce [addr] message]
Any ideas?
TIA
tim
--
Tim Johnson <tim-johnsons-web.com>
http://www.alaska-internet-solutions.com
[2/3] from: compkarori:gm:ail at: 17-Jul-2006 11:15
Perhaps it doesn't like it that you're not using email addresses but text
strings?
Always, do a trace/net on and see what spits out
On 7/17/06, Tim Johnson <tim-johnsons-web.com> wrote:
> I've been using the following code for years, now it is breaking with
> the installation of 2.6.2.4.2
<<quoted lines omitted: 36>>
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
Graham Chiu
http://www.compkarori.com/emr/
[3/3] from: tim-johnsons::web::com at: 16-Jul-2006 16:52
* Graham Chiu <compkarori-gmail.com> [060716 15:29]:
> Perhaps it doesn't like it that you're not using email addresses but text
> strings?
You nailed it Graham!
;Envelope construction now looks like this:
envelope: make system/standard/email[
To: to-email email-address
From: to-email from-address
subject: rejoin ["Link to the " client-title " " _subject]
]
thanks. I owe you a beer.
tim
> Always, do a trace/net on and see what spits out
> On 7/17/06, Tim Johnson <tim-johnsons-web.com> wrote:
<<quoted lines omitted: 52>>
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
Tim Johnson <tim-johnsons-web.com>
http://www.alaska-internet-solutions.com
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted