(sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
From "Golubev I. N." <gin@mo.msk.ru>.
+2001-12-28 Simon Josefsson <jas@extundo.com>
+
+ * mail/sendmail.el (mail-envelope-from): Fix :type.
+ (sendmail-send-it): Copy `mail-envelope-from' from calling buffer.
+
2001-12-28 Richard M. Stallman <rms@gnu.org>
* net/ldap.el (ldap-search-internal): Handle <file://...> in results.
If this is nil while `mail-specify-envelope-from' is non-nil, the
content of `user-mail-address' is used."
:version "21.1"
- :type 'boolean
+ :type '(choice (const :tag "Use `user-mail-address'" nil)
+ string)
:group 'sendmail)
;;;###autoload
(mailbuf (current-buffer))
(program (if (boundp 'sendmail-program)
sendmail-program
- "/usr/lib/sendmail")))
+ "/usr/lib/sendmail"))
+ (mail-envelope-from mail-envelope-from))
(unwind-protect
(save-excursion
(set-buffer tembuf)