I answered him privately, and it turned out this was fixed some months
ago but the package system wouldn't let him upgrade (the usual EFS
problems). Case closed.
From: "David M. Karr" <dmkarr(a)earthlink.net>
Subject: Undying bug in smtpmail.el::smtpmail-via-smtp: user-mail-address nil
Newsgroups: comp.emacs.xemacs
Date: Sat, 16 Jun 2001 13:06:33 -0700
This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
In XEmacs 21.4 (patch 3) "Academic Rigor" [Lucid] (i686-pc-cygwin) of Thu Jun
14 2001 on WONDARK
configured using `configure --prefix=/usr'
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I've been using 21.1 for quite a while, and just built and installed 21.4. I
once worked Simon Josefson (sp?) on bugs I was seeing in smtpmail.el. We
worked through those problems, and I thought the fixes eventually got into the
various releases this package was a part of. Now, I see that at least one of
the fixes that were made aren't in the package in this release. Perhaps I'm
not understanding how packages in XEmacs get updated (or how I'm supposed to
update them in my installation).
In particular, when I try to send an email message, I get a "SMTP protocol
error", and it doesn't send. The problem is this block of code in
"smtpmail.el":
--------------
; (smtpmail-send-command process (format "MAIL FROM:%s@%s"
(user-login-name) (smtpmail-fqdn)))
(smtpmail-send-command process (format "MAIL FROM: <%s>%s%s"
user-mail-address
size-part
body-part))
--------------
When I get to this point in the debugger, I find that "user-mail-address" is
nil. This ends up creating an invalid "FROM:" value. What appears to be the
fix is changing "user-mail-address" to "(user-mail-address)". When
I
reevaluate it with that change and resend the note, then it goes off fine (just
like this error report, I hope).
Recent keystrokes:
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC
SPC c q q M-x e m a TAB b u g TAB RET C-b C-e RET BS
BS BS BS BS BS BS BS BS r e p TAB o TAB r TAB RET
Recent messages (most recent first):
Matches (delete-process process)))))) [632]
Loading emacsbug...done
Loading emacsbug...
Making completion list...
Making completion list...
error: "Sending failed; SMTP protocol error"
Continue...
Result: nil
Result: #<network connection "SMTP" (25 . "mail.earthlink.net")
state:run>
Result: ""
----------
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/