]> git.eshelyaron.com Git - emacs.git/commitdiff
(smtpmail-via-smtp): Parse out the first word
authorKarl Heuer <kwzh@gnu.org>
Fri, 4 Sep 1998 20:08:58 +0000 (20:08 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 4 Sep 1998 20:08:58 +0000 (20:08 +0000)
on extension lines.

lisp/mail/smtpmail.el

index 8bbb98edd8620224707ecee3040bd2e8eb862bd8..6e567148b1a669fe58c285a8fd584fcb7434b191 100644 (file)
@@ -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