aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail
diff options
context:
space:
mode:
authorMiles Bader2007-10-19 00:00:21 +0000
committerMiles Bader2007-10-19 00:00:21 +0000
commit9c8020a8df03dc67a56d7df15664dcf7ace54bf0 (patch)
tree09b0646addff3c39f9e96ba89c04bdcc038a87a7 /lisp/mail
parentdfc3268dfa133a2e0a677f1af7c1ee548eae065d (diff)
parentbd3164743080f3eb5fc316aca7cc5322ca58fe33 (diff)
downloademacs-9c8020a8df03dc67a56d7df15664dcf7ace54bf0.tar.gz
emacs-9c8020a8df03dc67a56d7df15664dcf7ace54bf0.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 890-898) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 122-128) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 257-258) - Merge from emacs--rel--22 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/sendmail.el21
1 files changed, 15 insertions, 6 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 34a0aa0ad82..e8d896be246 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -991,6 +991,19 @@ See also the function `select-message-coding-system'.")
991 nil) 991 nil)
992 (t (error "Invalid value for `mail-from-style'"))))) 992 (t (error "Invalid value for `mail-from-style'")))))
993 993
994;; Normally you will not need to modify these options unless you are
995;; using some non-genuine substitute for sendmail which does not
996;; implement each and every option that the original supports.
997;; E.g., ssmtp does not support "-odb", so, if your site uses it,
998;; you will need to modify `sendmail-error-reporting-non-interactive'
999;; in your site-init.el.
1000(defvar sendmail-error-reporting-interactive
1001 ;; These mean "report errors to terminal" and "deliver interactively"
1002 '("-oep" "-odi"))
1003(defvar sendmail-error-reporting-non-interactive
1004 ;; These mean "report errors by mail" and "deliver in background".
1005 '("-oem" "-odb"))
1006
994(defun sendmail-send-it () 1007(defun sendmail-send-it ()
995 "Send the current mail buffer using the Sendmail package. 1008 "Send the current mail buffer using the Sendmail package.
996This is a suitable value for `send-mail-function'. It sends using the 1009This is a suitable value for `send-mail-function'. It sends using the
@@ -1135,12 +1148,8 @@ external program defined by `sendmail-program'."
1135 (and mail-alias-file 1148 (and mail-alias-file
1136 (list (concat "-oA" mail-alias-file))) 1149 (list (concat "-oA" mail-alias-file)))
1137 (if mail-interactive 1150 (if mail-interactive
1138 ;; These mean "report errors to terminal" 1151 sendmail-error-reporting-interactive
1139 ;; and "deliver interactively" 1152 sendmail-error-reporting-non-interactive)
1140 '("-oep" "-odi")
1141 ;; These mean "report errors by mail"
1142 ;; and "deliver in background".
1143 '("-oem" "-odb"))
1144 ;; Get the addresses from the message 1153 ;; Get the addresses from the message
1145 ;; unless this is a resend. 1154 ;; unless this is a resend.
1146 ;; We must not do that for a resend 1155 ;; We must not do that for a resend