On Sun, 14 Nov 1999 [EMAIL PROTECTED] wrote:

> btw:
> 
> send my-mobil-phone {adsfaf asdfasdf asdfasdf asdf sa
> adfds
> .}
> 
> results in error although message is sent:
> ** User Error: Server error: tcp 500 Command unrecognized: ".".
> ** Where: close smtp-port
> 
> Why is dot at the end of the message causing a problem?

SMTP requires that a line in a message starting with a period be escaped
with another period first.  Sending a single period is SMTP's way of being
told "that's the end of the message".

REBOL appears to not be escaping your single period with another
one, so the mail server is interpreting the single period from your
message as the 'end of message' command, then getting REBOL's
internally-generated 'end of message' period.

That's where the error arises:  The mail server has already received it's
'end of message' command, and doesn't know what to do with the next period
it receives.

As a work-around, escape the period yourself with an extra ".".  I've just
tested this under REBOL 2.1.0.4.1 and 2.2.0.4.1 and confirmed both the 
mis-behaviour and work-around.  (A bug report has been sent to REBOL HQ.)

Kev

--------------------------------------------------------------------
Kevin McKinnon, Network Engineer             [EMAIL PROTECTED]
Sunshine Communications                        www.sunshinecable.com

Reply via email to