(end-of-line)
(point))))
(load file-msg)
- (setq tembuf (binary-find-file-noselect file-msg))
+ ;; Insert the message literally: it is already encoded as per
+ ;; the MIME headers, and code conversions might guess the
+ ;; encoding wrongly.
+ (setq tembuf (find-file-noselect file-msg nil t))
(if smtpmail-recipient-address-list
(smtp-send-buffer user-mail-address
smtpmail-recipient-address-list tembuf)