issues on Windows (among other things).
+2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
+ to binary to possibly avoid line encoding issues on Windows (among
+ other things).
+
2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/network-stream.el (open-network-stream): Return an :error
(secret . "SMTP password for %u@%h: ")))
(auth-info (car
(auth-source-search
- :max 1
:host host
:port port
+ :max 1
:require (and ask-for-password
'(:user :secret))
:create ask-for-password)))
(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
;; clear the trace buffer of old output
(with-current-buffer process-buffer
+ (set-buffer-multibyte nil)
(setq buffer-undo-list t)
(erase-buffer))