emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the default for `send-mail-function'


From: Lars Magne Ingebrigtsen
Subject: Re: Changing the default for `send-mail-function'
Date: Mon, 27 Jun 2011 01:49:33 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> Could you try the following patch?

Sorry, try this one:

=== modified file 'lisp/mail/smtpmail.el'
*** lisp/mail/smtpmail.el       2011-06-26 21:05:06 +0000
--- lisp/mail/smtpmail.el       2011-06-26 23:48:29 +0000
***************
*** 615,620 ****
--- 615,622 ----
                             (and mail-specify-envelope-from
                                  (mail-envelope-from))
                             user-mail-address))
+       (coding-system-for-read 'binary)
+       (coding-system-for-write 'binary)
        response-code
        process-buffer
        result
***************
*** 629,634 ****
--- 631,637 ----
  
          ;; clear the trace buffer of old output
          (with-current-buffer process-buffer
+           (set-buffer-multibyte nil)
            (setq buffer-undo-list t)
            (erase-buffer))
  

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]