(smtpmail-send-it): Use `binary-write-decoded-region' instead of
authortomo <tomo>
Mon, 25 Dec 2000 04:30:02 +0000 (04:30 +0000)
committertomo <tomo>
Mon, 25 Dec 2000 04:30:02 +0000 (04:30 +0000)
`binary-write-region'.

smtpmail.el

index 6475e44..5eb7e0e 100644 (file)
@@ -46,7 +46,7 @@
 (require 'smtp)
 (require 'sendmail)
 (require 'time-stamp)
-(require 'raw-io)
+(require 'mel)
 
 (eval-when-compile (require 'static))
 
@@ -245,7 +245,7 @@ This is relative to `smtpmail-queue-dir'.")
                (insert-buffer tembuf)
                (or (file-directory-p smtpmail-queue-dir)
                    (make-directory smtpmail-queue-dir t))
-               (binary-write-region (point-min) (point-max) file-data)
+               (binary-write-decoded-region (point-min) (point-max) file-data)
                (set-buffer buffer-elisp)
                (erase-buffer)
                (insert (concat