(require 'smtp)
(require 'sendmail)
(require 'time-stamp)
+(require 'raw-io)
(eval-when-compile (require 'static))
-(static-when (featurep 'xemacs)
- (define-obsolete-variable-alias 'smtpmail-default-smtp-server
- 'smtp-default-server)
- (define-obsolete-variable-alias 'smtpmail-smtp-server 'smtp-server)
- (define-obsolete-variable-alias 'smtpmail-smtp-service 'smtp-service)
- (define-obsolete-variable-alias 'smtpmail-local-domain 'smtp-local-domain)
- (define-obsolete-variable-alias 'smtpmail-debug-info 'smtp-debug-info)
- )
+;; (static-when (featurep 'xemacs)
+;; (define-obsolete-variable-alias 'smtpmail-default-smtp-server
+;; 'smtp-default-server)
+;; (define-obsolete-variable-alias 'smtpmail-smtp-server 'smtp-server)
+;; (define-obsolete-variable-alias 'smtpmail-smtp-service 'smtp-service)
+;; (define-obsolete-variable-alias 'smtpmail-local-domain 'smtp-local-domain)
+;; (define-obsolete-variable-alias 'smtpmail-debug-info 'smtp-debug-info)
+;; )
;;;
(end-of-line)
(point))))
(load file-msg)
- (setq tembuf (find-file-noselect-as-binary file-msg))
+ (setq tembuf (binary-find-file-noselect file-msg))
(if smtpmail-recipient-address-list
(smtp-send-buffer user-mail-address
smtpmail-recipient-address-list tembuf)