summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1998-09-04 20:08:58 +0000
committerKarl Heuer <kwzh@gnu.org>1998-09-04 20:08:58 +0000
commit2c79f5b83167eef163568818b6cb17a8ada67abf (patch)
tree795c53bc7ef3ed60cd266a033c2794039cdc99b9
parentae5f1b888f9589d09b85fc05ab300d8d1732bff6 (diff)
downloademacs-2c79f5b83167eef163568818b6cb17a8ada67abf.tar.gz
emacs-2c79f5b83167eef163568818b6cb17a8ada67abf.tar.bz2
emacs-2c79f5b83167eef163568818b6cb17a8ada67abf.zip
(smtpmail-via-smtp): Parse out the first word
on extension lines.
-rw-r--r--lisp/mail/smtpmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 8bbb98edd86..6e567148b1a 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -350,7 +350,7 @@ This is relative to `smtpmail-queue-dir'.")
(throw 'done nil)))
(let ((extension-lines (cdr (cdr response-code))))
(while extension-lines
- (let ((name (intern (downcase (substring (car extension-lines) 4)))))
+ (let ((name (intern (downcase (car (split-string (substring (car extension-lines) 4) "[ ]"))))))
(and name
(cond ((memq name '(verb xvrb 8bitmime onex xone
expn size dsn etrn