aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2003-09-28 08:55:50 +0000
committerEli Zaretskii2003-09-28 08:55:50 +0000
commita8df98fd8b8894623d6ff29dfd6f96bff306b14b (patch)
tree90568cd34d5766b0bcbe5d3bb4f0420bf81eea95
parent57fff5de663515ea95e25d10eb838929cbda4ad6 (diff)
downloademacs-a8df98fd8b8894623d6ff29dfd6f96bff306b14b.tar.gz
emacs-a8df98fd8b8894623d6ff29dfd6f96bff306b14b.zip
(smtpmail-via-smtp): Don't insert a space
between "MAIL FROM:" and "RCPT TO:" and the following address.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mail/smtpmail.el8
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cc62088e73d..0a6e225725f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12003-09-28 Jesper Harder <harder@ifa.au.dk> (tiny change) 12003-09-28 Jesper Harder <harder@ifa.au.dk> (tiny change)
2 2
3 * mail/smtpmail.el (smtpmail-via-smtp): Don't insert a space
4 between "MAIL FROM:" and "RCPT TO:" and the following address.
5
62003-09-28 Jesper Harder <harder@ifa.au.dk> (tiny change)
7
3 * textmodes/text-mode.el (paragraph-indent-minor-mode): Doc fix. 8 * textmodes/text-mode.el (paragraph-indent-minor-mode): Doc fix.
4 9
52003-09-28 David Ponce <david@dponce.com> 102003-09-28 David Ponce <david@dponce.com>
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 35c01201b3c..c9bfce7f400 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -671,7 +671,7 @@ This is relative to `smtpmail-queue-dir'.")
671 (>= (car response-code) 400)) 671 (>= (car response-code) 400))
672 (throw 'done nil)))) 672 (throw 'done nil))))
673 673
674 ;; MAIL FROM: <sender> 674 ;; MAIL FROM:<sender>
675 (let ((size-part 675 (let ((size-part
676 (if (or (member 'size supported-extensions) 676 (if (or (member 'size supported-extensions)
677 (assoc 'size supported-extensions)) 677 (assoc 'size supported-extensions))
@@ -706,7 +706,7 @@ This is relative to `smtpmail-queue-dir'.")
706 "") 706 "")
707 ""))) 707 "")))
708; (smtpmail-send-command process (format "MAIL FROM:%s@%s" (user-login-name) (smtpmail-fqdn))) 708; (smtpmail-send-command process (format "MAIL FROM:%s@%s" (user-login-name) (smtpmail-fqdn)))
709 (smtpmail-send-command process (format "MAIL FROM: <%s>%s%s" 709 (smtpmail-send-command process (format "MAIL FROM:<%s>%s%s"
710 envelope-from 710 envelope-from
711 size-part 711 size-part
712 body-part)) 712 body-part))
@@ -717,10 +717,10 @@ This is relative to `smtpmail-queue-dir'.")
717 (throw 'done nil) 717 (throw 'done nil)
718 )) 718 ))
719 719
720 ;; RCPT TO: <recipient> 720 ;; RCPT TO:<recipient>
721 (let ((n 0)) 721 (let ((n 0))
722 (while (not (null (nth n recipient))) 722 (while (not (null (nth n recipient)))
723 (smtpmail-send-command process (format "RCPT TO: <%s>" (smtpmail-maybe-append-domain (nth n recipient)))) 723 (smtpmail-send-command process (format "RCPT TO:<%s>" (smtpmail-maybe-append-domain (nth n recipient))))
724 (setq n (1+ n)) 724 (setq n (1+ n))
725 725
726 (setq response-code (smtpmail-read-response process)) 726 (setq response-code (smtpmail-read-response process))