• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp1
r3wp52
total:53

results window for this page: [start: 1 end: 53]

world-name: r4wp

Group: !REBOL3 ... General discussion about REBOL 3 [web-public]
GrahamC:
19-Jan-2013
Going to change that to

write smtp://smtp.host.com [ 
			esmtp-user: 
			esmtp-pass: 
			from:
			name:
			to: 
			subject:
			message: 
		]

world-name: r3wp

Group: !AltME ... Discussion about AltME [web-public]
amacleod:
27-Oct-2010
Does the send email work for esmtp in altme. I do not see the proper 
settings...am I missing something?
Group: RAMBO ... The REBOL bug and enhancement database [web-public]
Gabriele:
20-May-2005
note that if you set esmtp-user to the word 'ask, it will ask you 
user name and password (on the console) the first time you send an 
email.
Graham:
20-May-2005
Gabriele, what type of authentication does esmtp do?
Gabriele:
20-Nov-2006
no, it's just not esmtp anymore :)
Graham:
8-Feb-2007
There's a small but significant "bug" in prot-esmtp.r that for most 
users doesn't matter.
Group: Core ... Discuss core issues [web-public]
Graham:
9-May-2006
>> smtp: open/lines tcp://bible-way.org:26
>> insert smtp "HELO Louis.com"
>> pick smtp 1

== {220-box61.bluehost.com ESMTP Exim 4.52 #1 Mon, 08 May 2006 22:02:46 
-0600 }
>> pick smtp 1

== {220-We do not authorize the use of this system to transport unsolicited, 
}
>> pick smtp 1
== "220 and/or bulk e-mail."
>> pick smtp 1

== {250 box61.bluehost.com Hello 203-79-92-225.cable.paradise.net.nz 
[203.79.92.225]}
Louis:
9-May-2006
Now I am getting:

Net-log: ["Opening" "tcp" "for" "esmtp"]
Net-log: [none "220"]

Net-log: {220-box61.bluehost.com ESMTP Exim 4.52 #1 Tue, 09 May 2006 
05:01:25 -0600 }

Net-log: {220-We do not authorize the use of this system to transport 
unsolicited, }
Net-log: "220 and/or bulk e-mail."
Net-log: [["HELO" system/network/host] "250"]

Net-log: {250 box61.bluehost.com Hello ip68-97-225-211.ok.ok.cox.net 
[68.97.225.211]}
Net-log: ["AUTH CRAM-MD5" "334"]
Net-log: ["WARNING! Using plain authentication."]

Net-log: [{AUTH PLAIN bGF0dXJrQGJpYmxlLXdheS5vcmcAbGF0dXJrQGJpYmxlLXdheS5vcmcAaXN0cmkx}
    "235"
]
Oldes:
9-May-2006
There is quick patch which should helps you to send crypted passwords

do http://box.lebeda.ws/~hmm/rebol/projects/smtp/latest/esmtp_1.3.2.r
Joe:
15-May-2006
smtp-port: 	open [scheme: 'esmtp]
msg:		head insert insert tail net-utils/export o-h newline msg
insert		smtp-port reduce [v-from reduce [v-to] msg]   	
insert		smtp-port reduce [v-from reduce [v-bcc] msg]
Graham:
18-Jun-2006
** User Error: ESMTP: Invalid command
** Near: insert smtp-port reduce [from reduce [addr] message]
Graham:
1-Feb-2007
I cloned the esmtp protocol to use on port 465, and added a /secure 
to 'send so that it uses my new ssmtp protocol.
BrianH:
18-Dec-2008
You might be thinking of one of these:
>> first system/schemes

== [self default Finger Whois Daytime SMTP ESMTP POP IMAP HTTP FTP 
NNTP HTTPS]
Oldes:
3-Dec-2009
Is someone using REBOL with Gmail? I was trying this: http://mail.rebol.net/maillist/msgs/44246.html
but it does not work (I think that REBOL's esmtp scheme is not responding 
on STARTTLS command as described here: http://en.wikipedia.org/wiki/STARTTLS
Graham:
3-Dec-2009
I posted the changes needed somewhere to get esmtp to work with gmail 
.... needs R/command though.
Von:
12-Dec-2009
** User Error: Server error: tcp connection failed
** Near: smtp-port: open [scheme: 'esmtp] 
either only
Von:
12-Dec-2009
Hello!  I'm having trouble with my hosting account to send via e-mail 
a cgi form response.  I can get rebol to post the data to the page, 
I just can't get it to send the data to me via e-mail.   I'm able 
to send e-mails from my laptop but when I use the same set-net settings 
on my host account I get the following error: ** User Error: Server 
error: tcp connection failed
** Near: smtp-port: open [scheme: 'esmtp] 
either only
Von:
12-Dec-2009
Hello!  I'm having trouble with my hosting account to send via e-mail 
a cgi form response.  I can get rebol to post the data to the page, 
I just can't get it to send the data to me via e-mail.   I'm able 
to send e-mails from my laptop but when I use the same set-net settings 
on my host account I get the following error: ** User Error: Server 
error: tcp connection failed
** Near: smtp-port: open [scheme: 'esmtp] 
either only
Graham:
12-Dec-2009
esmtp requires a password
Graham:
12-Dec-2009
I get this

>> set-net [ [sales-:-coolexample-:-com] smtpout.secureserver.net ]
>> send [someone-:-gmail-:-com] "testing"
Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: smtpout.secureserver.net
Net-log: [none "220"]
Net-log: {220 p3plsmtpa01-02.prod.phx3.secureserver.net ESMTP}
Net-log: [["EHLO" system/network/host] "250"]
Net-log: "250-p3plsmtpa01-02.prod.phx3.secureserver.net"
Net-log: "250-AUTH LOGIN PLAIN"
Net-log: "250-8BITMIME"
Net-log: "250 PIPELINING"
Net-log: ["Supported auth methods:" [login plain]]
Net-log: ["MAIL FROM: <[sales-:-coolexample-:-com]>" "250"]
Net-log: "250 Sender accepted."
Net-log: ["RCPT TO: <[someone-:-gmail-:-com]>" "250"]

** User Error: Server error: tcp 553 Sorry, that domain isn't in 
my list of allowed rcpthosts.
Von:
12-Dec-2009
log.txt:  Content-Type: text/plain

Net-log: ["Opening" "tcp" "for" "esmtp"]
Net-log: [none "220"]
** User Error: Server error: tcp connection failed
** Near: smtp-port: open [scheme: 'esmtp] 
either only
amacleod:
26-May-2010
I'm getting an error with send that neever got before...

>> send [bebop-:-gmail-:-com] "hello"

** User Error: Server error: tcp 421 Cannot connect to SMTP server 
173.236.30.114 (173.236.30.114:25), connect error 10060
** Near: smtp-port: open [scheme: 'esmtp]
either only
amacleod:
28-May-2010
At least one of the problems I had with one of my email accounts 
related to port number: 


I was changing my smtp port to 2626 with "system/schemes/smtp/port-id: 
2626"

when I should have been changing my esmtp port with : system/schemes/esmtp/port-id: 
2626

Dope!

Thanks for the help all
Robert:
9-Oct-2010
So, I need to send seme emails and need to login into my SMTP server. 
And this mostly fails out-of-the box in Rebol 2 and I can't remember 
what to do to make it work:

>> send [robert-:-muench-:-googlemail-:-com] "Test"
Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: mail.saphirion.com
Net-log: [none "220"]

Net-log: {220 mail.saphirion.com ESMTP Exim 4.63 Sat, 09 Oct 2010 
12:12:46 +0200}
Net-log: [["EHLO" system/network/host] "250"]

Net-log: {250-mail.saphirion.com Hello mail.saphirion.com [10.0.0.3]}
Net-log: "250-SIZE 52428800"
Net-log: "250-AUTH LOGIN CRAM-MD5 DIGEST-MD5"
Net-log: "250 HELP"
Net-log: ["Supported auth methods:" [login cram]]
Net-log: ["MAIL FROM: <[robert-:-muench-:-saphirion-:-com]>" "250"]
Net-log: "250 OK"
Net-log: ["RCPT TO: <[robert-:-muench-:-googlemail-:-com]>" "250"]
** User Error: Server error: tcp 530 Relaying not allowed
** Near: insert smtp-port reduce [from reduce [addr] tmp]


I think the probem is that Rebol isn't logging in correctly. Either 
it doesn't understand the supported methods or something else is 
different. Any ideas how I can fix it or track it down?
PeterWood:
9-Oct-2010
Sorry I forgot to decompress the message:


I have no problem sending from an ESMTP account from Rebol after 
setting the account name and password with set-net:
PeterWood:
9-Oct-2010
If it's neither of those this script at REBOL.org may be of help 
:

http://www.rebol.org/view-script.r?script=patch-esmtp-net.r
Group: View ... discuss view related issues [web-public]
james_nak:
31-Oct-2005
This is a view/core issue but I place this here since it's showing 
up in View. I've recently changed hosting companies and not one of 
my apps doesn't like the email authentication like it did before. 
I noticed that a while back there was a discussion about this before 
the esmtp was placed into view (esmtp.r and esend.r + the patch). 
I'm getting this:
** User Error: Server error: tcp 535 auth failure
** Near: smtp-port: open [scheme: 'esmtp]
either only

This is one of those "but it was working before" issues. Perhaps 
one of you has run into this. BTW, both Outlook and webmail seem 
to work OK though even Outlook was a little slower yesterday connecting 
to the server. Thanks as always in advance.
Group: I'm new ... Ask any question, and a helpful person will try to answer. [web-public]
Will:
27-Mar-2008
here is the net-log, a couple of this (no problem)::

Net-log: ["Opening" "tcp" "for" "esmtp"]
Net-log: [none "220"]
Net-log: "220 domain.com running core"
Net-log: [["EHLO" system/network/host] "250"]
Net-log: {250-domain.com hello mail.local (10.5.32.4)}
Net-log: "250-PIPELINING"
Net-log: "250-8BITMIME"
Net-log: "250-BINARYMIME"
Net-log: "250-CHUNKING"
Net-log: "250-ENHANCEDSTATUSCODES"
Net-log: "250-ETRN"
Net-log: "250-AUTH CRAM-MD5 DIGEST-MD5 NTLM PLAIN LOGIN"
Net-log: "250 SIZE 2147483647"
Net-log: ["Supported auth methods:" [cram plain login]]
Net-log: ["MAIL FROM: <[majordomo-:-domain-:-com]>" "250"]
Net-log: "250 2.1.5 sender OK"
Net-log: ["RCPT TO: <[user-:-domain-:-com]>" "250"]
Net-log: "250 2.1.0 forwarding to [user-:-domain-:-com]"
Net-log: ["DATA" "354"]
Net-log: "354 send your message"
Net-log: [none "250"]
Net-log: "250 2.6.0 message received OK"
Net-log: ["QUIT" "221"]
Net-log: "221 2.0.0 domain.com closing connection"
Will:
27-Mar-2008
than suddenly this one:

Net-log: ["QUIT" "221"]
Net-log: ["Opening" "tcp" "for" "esmtp"]
Net-log: [none "220"]
Net-log: "220 domain.com running core"
Net-log: [["EHLO" system/network/host] "250"]
Net-log: {250-domain.com hello mail.local (10.5.32.4)}
Net-log: "250-PIPELINING"
Net-log: "250-8BITMIME"
Net-log: "250-BINARYMIME"
Net-log: "250-CHUNKING"
Net-log: "250-ENHANCEDSTATUSCODES"
Net-log: "250-ETRN"
Net-log: "250-AUTH CRAM-MD5 DIGEST-MD5 NTLM PLAIN LOGIN"
Net-log: "250 SIZE 2147483647"
Net-log: ["Supported auth methods:" [cram plain login]]
Net-log: ["MAIL FROM: <[admin-:-domain-:-com]>" "250"]
Net-log: "250 2.1.5 sender OK"
Net-log: ["RCPT TO: <[user-:-domain-:-com]>" "250"]
Net-log: "250 2.1.0 forwarding to [user-:-domain-:-com]"
Net-log: ["DATA" "354"]
Net-log: "354 send your message"
Net-log: [none "250"]
Net-log: "250 2.6.0 message received OK"
Net-log: ["QUIT" "221"]
Net-log: "221 2.0.0 domain.com closing connection"


error code: 501
description: access error, Port none not open
near: [value: either series? :value [copy value]]
where: confirm
Gabriele:
28-Mar-2008
;-- Send as an SMTP batch or individually addressed:
        smtp-port: open [scheme: 'esmtp]
        either only [ ; Only one message to multiple addrs
                address: copy address
                ; remove non-email values
                remove-each value address [not email? :value]

                message: head insert insert tail net-utils/export header-obj newline 
                m
essage
                insert smtp-port reduce [from address message]
        ] [
                foreach addr address [
                        if email? addr [

                                if not show [insert clear header-obj/to addr]

                                tmp: head insert insert tail net-utils/export header-o
bj newline message

                                insert smtp-port reduce [from reduce [addr] tmp]
                        ]
                ]
        ]
        close smtp-port
Group: Linux ... [web-public] group for linux REBOL users
Pekr:
2-Sep-2009
I found out, that my Sendmail is probably compiled with SASL support:

[[root-:-linux] mail]# sendmail -d0.1 -bv root | grep SASL

                NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS
[[root-:-linux] mail]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

220 linux.pekr.dom ESMTP Sendmail 8.12.10/8.12.10; Wed, 2 Sep 2009 
15:37:31 +0200
ehlo localhost

250-linux.pekr.dom Hello localhost.localdomain [127.0.0.1], pleased 
to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5   <---- This means SASL is allowed
250-DELIVERBY
250 HELP

... now just how to further instruct sendmail to use it?
Janko:
27-Sep-2009
I tried from console too .. if firewall is all on ACCEPT it works 
.. if not this happens : 


>> send [janko-:-itm-:-gmail-:-com] "asasd asd a"                        
               Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: secure.emailsrvr.com
** Access Error: Cannot connect to secure.emailsrvr.com
** Where: open-proto
** Near: smtp-port: open [scheme: 'esmtp]
either only
Group: Web ... Everything web development related [web-public]
Graham:
20-Jun-2005
Now this is interesting ...

Email: [holger-:-rebol-:-com]

Smtp-challenge loaded ..
domain:  rebol.com

220-gs5.inmotionhosting.com ESMTP Exim 4.42 #1 Mon, 20 Jun 2005 18:19:13 
-0700 
HELO compkarori.com

220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.

250 gs5.inmotionhosting.com Hello compka at compkarori.com [216.166.83.25]
Mail from:
250 OK
RCPT TO:

550-"The recipient cannot be verified.  Please check all recipients 
of this

in state 3:  550-"The recipient cannot be verified.  Please check 
all recipients of this
user not found
Graham:
20-Jun-2005
Email: [gregg-:-rebol-:-com]

Smtp-challenge loaded ..
domain:  rebol.com

220-gs5.inmotionhosting.com ESMTP Exim 4.42 #1 Mon, 20 Jun 2005 18:19:37 
-0700 
HELO compkarori.com

220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.

250 gs5.inmotionhosting.com Hello compka at compkarori.com [216.166.83.25]
Mail from:
250 OK
RCPT TO:
250 Accepted
in state 3:  250 Accepted
ok - user is here!
Graham:
20-Jun-2005
Email: [gabriele-:-rebol-:-com]

Smtp-challenge loaded ..
domain:  rebol.com

220-gs5.inmotionhosting.com ESMTP Exim 4.42 #1 Mon, 20 Jun 2005 18:20:01 
-0700 
HELO compkarori.com

220-We do not authorize the use of this system to transport unsolicited, 
220 and/or bulk e-mail.

250 gs5.inmotionhosting.com Hello compka at compkarori.com [216.166.83.25]
Mail from:
250 OK
RCPT TO:
250 Accepted
in state 3:  250 Accepted
ok - user is here!
Tim:
9-Oct-2011
set-net [[tim-:-mydomain-:-com] mail.mydomain.com mail.mydomain.com none 
none none [tim-:-mydomain-:-com] '*******'] where 'mydomain' replaces my 
domain and asterisk obfuscate the password, if I send a message I 
get the following : connecting to: mail.mydomain.com

** User Error: Server error: tcp 503 AUTH command used when not advertised
** Near: smtp-port: open [scheme: 'esmtp] 
either only
Tim:
9-Oct-2011
>> send [tim-:-akwebsoft-:-com] "testing rebol"                        
                                             
Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: mail.akwebsoft.com
Net-log: [none "220"]

Net-log: {220-host266.hostmonster.com ESMTP Exim 4.76 #1 Sun, 09 
Oct 2011 11:45:39 -0600 }

Net-log: {220-We do not authorize the use of this system to transport 
unsolicited, }
Net-log: "220 and/or bulk e-mail."
Net-log: [["HELO" system/network/host] "250"]
Net-log: {250 host266.hostmonster.com Hello bart [64.4.232.191]}
Net-log: ["AUTH CRAM-MD5" "334"]
Net-log: ["WARNING! Using plain authentication."]

Net-log: [{AUTH PLAIN dGltQGFrd2Vic29mdC5jb20AdGltQGFrd2Vic29mdC5jb20AdEhqMTk0OSc=} 
    "235"
]

** User Error: Server error: tcp 503 AUTH command used when not advertised
** Near: smtp-port: open [scheme: 'esmtp] 
either only
GrahamC:
9-Oct-2011
Maybe you're using an old esmtp protocol .. as mine sends EHLO
GrahamC:
9-Oct-2011
>> set-net [[tim-:-akwebsoft-:-com] mail.akwebsoft.com mail.akwebsoft.com 
none none none [tim-:-akwebsoft-:-com] "****" ]
>> send [tim-:-akwebsoft-:-com] "testing"
Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: mail.akwebsoft.com
Net-log: [none "220"]

Net-log: {220-host266.hostmonster.com ESMTP Exim 4.76 #1 Sun, 09 
Oct 2011 12:00:11 -0600 }

Net-log: {220-We do not authorize the use of this system to transport 
unsolicited, }
Net-log: "220 and/or bulk e-mail."
Net-log: [["EHLO" system/network/host] "250"]

Net-log: {250-host266.hostmonster.com Hello Graham-PC [203.97.98.9]}
Net-log: "250-SIZE 52428800"
Net-log: "250-PIPELINING"
Net-log: "250-AUTH PLAIN LOGIN"
Net-log: "250-STARTTLS"
Net-log: "250 HELP"
Net-log: ["Supported auth methods:" [plain login]]
Net-log: ["WARNING! Using AUTH LOGIN."]
Net-log: [
    "AUTH LOGIN" "334"
]
Net-log: "334 VXNlcm5hbWU6"
Net-log: ["dGltQGFrd2Vic29mdC5jb20=" "334"]
Net-log: "334 UGFzc3dvcmQ6"
Net-log: ["KioqKg==" "235"]

** User Error: Server error: tcp 535 Incorrect authentication data
** Near: smtp-port: open [scheme: 'esmtp]
either only
GrahamC:
9-Oct-2011
Get the latest esmtp protocol
Tim:
9-Oct-2011
>> send [tim-:-akwebsoft-:-com] "testing rebol"                        
                                              
Net-log: ["Opening" "tcp" "for" "esmtp"]
connecting to: mail.akwebsoft.com
Net-log: [none "220"]

Net-log: {220-host266.hostmonster.com ESMTP Exim 4.76 #1 Sun, 09 
Oct 2011 12:12:54 -0600 }

Net-log: {220-We do not authorize the use of this system to transport 
unsolicited, }
Net-log: "220 and/or bulk e-mail."
Net-log: [["EHLO" system/network/host] "250"]
Net-log: {250-host266.hostmonster.com Hello bart [64.4.232.191]}
Net-log: "250-SIZE 52428800"
Net-log: "250-PIPELINING"
Net-log: "250-AUTH PLAIN LOGIN"
Net-log: "250-STARTTLS"
Net-log: "250 HELP"
Net-log: ["Supported auth methods:" [plain login]]
Net-log: ["WARNING! Using AUTH LOGIN."]
Net-log: [
    "AUTH LOGIN" "334"
]
Net-log: "334 VXNlcm5hbWU6"
Net-log: ["dGltQGFrd2Vic29mdC5jb20=" "334"]
Net-log: "334 UGFzc3dvcmQ6"
Net-log: ["dEhqMTk0OSc=" "235"]

** User Error: Server error: tcp 535 Incorrect authentication data
** Near: smtp-port: open [scheme: 'esmtp] 
either only
Group: Rebol School ... Rebol School [web-public]
Pekr:
26-Oct-2007
try to look for esmtp. Usually there is a requirement for sending 
your user account name and pass. Hopefully you can find something 
...
Claude:
1-Jun-2010
REBOL[]


send: func [
	"Send a message to an address (or block of addresses)"
	;Note - will also be used with REBOL protocol later.
	address [email! block!] "An address or block of addresses"
	message "Text of message. First line is subject."
	/only   "Send only one message to multiple addresses"
	/header "Supply your own custom header"
	header-obj [object!] "The header to use"
	/attach "Attach file, files, or [.. [filename data]]"
	files [file! block!] "The files to attach to the message"
	/subject "Set the subject of the message"
	subj "The subject line"
	/show "Show all recipients in the TO field"
	/local smtp-port boundary make-boundary tmp from
][
	make-boundary: does []

	if file? files [files: reduce [files]] ; make it a block
	if email? address [address: reduce [address]] ; make it a block
	message: either string? message [copy message] [mold message]

	if not header [                 ; Clone system default header
		header-obj: make system/standard/email [

   subject: any [subj copy/part message any [find message newline 50]]
		]
	]
	if subject [header-obj/subject: subj]
	either none? header-obj/from [

  if none? header-obj/from: from: system/user/email [net-error "Email 
  header not set: no from address"]
		if all [string? system/user/name not empty? system/user/name][
			header-obj/from: rejoin [system/user/name " <" from ">"]
		]
	][
		from: header-obj/from
	]
	if none? header-obj/to [
		header-obj/to: tmp: make string! 20
		if show [
			foreach email address [repend tmp [email ", "]]
			clear back back tail tmp
		]
	]
	if none? header-obj/date [header-obj/date: to-idate now]

	if attach [

  boundary: rejoin ["--__REBOL--" system/product "--" system/version 
  "--" checksum form now/precise "__"]
		header-obj/MIME-Version: "1.0"

  header-obj/content-type: join "multipart/mixed; boundary=" [{"} skip 
  boundary 2 {"}]
		message: build-attach-body message files boundary
	]

	;-- Send as an SMTP batch or individually addressed:
	smtp-port: open [scheme: 'esmtp]
	either only [ ; Only one message to multiple addrs
		address: copy address
		; remove non-email values
		remove-each value address [not email? :value]

  message: head insert insert tail net-utils/export header-obj newline 
  message
		insert smtp-port reduce [from address message]
	] [
		foreach addr address [
			if email? addr [
				if not show [insert clear header-obj/to addr]

    tmp: head insert insert tail net-utils/export header-obj newline 
    message
				insert smtp-port reduce [from reduce [addr] tmp]
			]
		]
	]
	close smtp-port
]

resend: func [
	"Relay a message"
	to from message /local smtp-port
][
	smtp-port: open [scheme: 'esmtp]
	insert smtp-port reduce [from reduce [to] message]
	close smtp-port
]

build-attach-body: function [
	{Return an email body with attached files.}
	body [string!] {The message body}

 files [block!] {List of files to send [%file1.r [%file2.r "data"]]}
	boundary [string!] {The boundary divider}
][
	make-mime-header
	break-lines
	file
	val
][
	make-mime-header: func [file] [
		net-utils/export context [

   Content-Type: join {application/octet-stream; name="} [file {"}]
			Content-Transfer-Encoding: "base64"

   Content-Disposition: join {attachment; filename="} [file {"^/}]
		]
	]
	break-lines: func [mesg data /at num] [
		num: any [num 72]
		while [not tail? data] [
			append mesg join copy/part data num #"^/"
			data: skip data num
		]
		mesg
	]
	if not empty? files [
		insert body reduce [boundary "^/Content-type: text/html^/^/"]
		append body "^/^/"
		if not parse files [
			some [
				(file: none)
				[
					set file file! (val: read/binary file)
					| into [
						set file file!
						set val skip ;anything allowed
						to end
					]
				] (
					if file [
						repend body [
							boundary "^/"
							make-mime-header any [find/last/tail file #"/" file]
						]
						val: either any-string? val [val] [mold :val]
						break-lines body enbase val
					]
				)
			]
		] [net-error "Cannot parse file list."]
		append body join boundary "--^/"
	]
	body
]
Group: !REBOL3-OLD1 ... [web-public]
btiffin:
30-Jul-2007
In which case, R2 will get a stable release of ESMTP and LNS (he 
said with his fingers crossed)?
Group: !Cheyenne ... Discussions about the Cheyenne Web Server [web-public]
amacleod:
7-Feb-2012
I'm trying to send an email within an .rsp script. Is this not possible 
because I keep getting errors: 


** User Error : Server error: tcp 503 AUTH command used when not 
advertised 
** Where: none 
** Near:  [smtp-port: open [scheme: 'esmtp]
Dockimbel:
7-Feb-2012
Looks like a ESMTP scheme issue. Is it working from console (using 
same REBOL version)?
Group: !REBOL2 Releases ... Discuss 2.x releases [web-public]
Graham:
2-Jan-2010
>> pick smtp 1
== "220 mx.google.com ESMTP 39sm6677160yxd.27"
Graham:
1-Feb-2010
Any reason why I can't change this http://rebol.wik.is/Protocols/Secure_Smtp
from

			port/user: port/user
			port/pass: port/pass
			; do authn if needed

to
			; fix: only ask once if the user used set-net ask
			port/user: system/schemes/esmtp/user
			port/pass: system/schemes/esmtp/pass

so I don't have to fix set-net as well??
Group: !REBOL3 Schemes ... Implementors guide [web-public]
Graham:
8-Jan-2010
I didn't bother with the authentication as that can be pulled out 
of prot-esmtp that Gabriele wrote.
Graham:
8-Jan-2010
>> c: open/lines tcp://smtp.clear.net.nz:25
>> pick c 1
== "220 smtp4.clear.net.nz -- Server ESMTP (CLEAR Net)"
>>
Andreas:
8-Jan-2010
port opened ...
waiting on port
=== Client event: lookup
=== Client event: connect
connected
=== Client event: read
S: 220 smtp4.clear.net.nz -- Server ESMTP (CLEAR Net)

C: EHLO my-r3-developement-pc
Group: !REBOL3 ... [web-public]
GrahamC:
9-Apr-2011
for esmtp etc
Group: Core ... Discuss core issues [web-public]
Louis:
6-Jan-2012
Has the esmtp code in rebol core been completely debugged?  Is there 
some documentation somewhere that discusses how to overcome problems 
is sending e-mail? A script that worked for years can no longer send 
e-mail, and I have no idea what the problem is. We are using a bluehost 
server.  trace/net on is not revealing the problem.