# HG changeset patch # User Oleksandr Gavenko # Date 1319410325 -10800 # Node ID dd1d88804512c002aea94417b6c0e713c2c7ee34 # Parent f7ce19afa6667b633544f8c67dfaa2510130b89e Use smtpmail mode for sending mail. diff -r f7ce19afa666 -r dd1d88804512 .emacs-my --- a/.emacs-my Mon Oct 24 01:47:47 2011 +0300 +++ b/.emacs-my Mon Oct 24 01:52:05 2011 +0300 @@ -1161,6 +1161,18 @@ (setq fortune-file "~/XXX") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +(message "smtp, smtpmail") + +(setq + ;; If you use the default mail user agent. + send-mail-function 'smtpmail-send-it + ;; If you use Message or Gnus. + message-send-mail-function 'smtpmail-send-it +) +;; (setq smtpmail-debug-verb t) +;; (setq smtpmail-debug-info t) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "mail, gnus, mh-e") (setq mail-signature t)