]> code.delx.au - gnu-emacs/blobdiff - lisp/mail/rmail.el
(smtpmail-via-smtp): Fall back to user-mail-address as sender.
[gnu-emacs] / lisp / mail / rmail.el
index 46650be91ef5db45ba0e901f3d9d4be8db0bb11d..d07305f2b8c69fd84c4b57fec6d9c898306e0524 100644 (file)
@@ -1742,13 +1742,14 @@ It returns t if it got any new messages."
                          (goto-char (+ header-end size))
                        (message "Ignoring invalid Content-Length field")
                        (sit-for 1 0 t)))
-                (if (re-search-forward
-                     (concat "^[\^_]?\\("
-                             rmail-unix-mail-delimiter
-                             "\\|"
-                             rmail-mmdf-delim1 "\\|"
-                             "^BABYL OPTIONS:\\|"
-                             "\^L\n[01],\\)") nil t)
+                (if (let ((case-fold-search nil))
+                      (re-search-forward
+                       (concat "^[\^_]?\\("
+                               rmail-unix-mail-delimiter
+                               "\\|"
+                               rmail-mmdf-delim1 "\\|"
+                               "^BABYL OPTIONS:\\|"
+                               "\^L\n[01],\\)") nil t))
                     (goto-char (match-beginning 1))
                   (goto-char (point-max)))
                 (setq count (1+ count))