+2002-11-13 Simon Josefsson <jas@extundo.com>
+
+ * mail/smtpmail.el (smtpmail-via-smtp): Fall back to
+ user-mail-address as sender.
+
2002-12-09 Markus Rost <rost@math.ohio-state.edu>
* configure.in (*-sunos5*, *-solaris*): Revert previous change -
(host (or smtpmail-smtp-server
(error "`smtpmail-smtp-server' not defined")))
(port smtpmail-smtp-service)
- (envelope-from (mail-envelope-from))
+ (envelope-from (or (mail-envelope-from)
+ smtpmail-mail-address
+ user-mail-address))
response-code
greeting
process-buffer
"")))
; (smtpmail-send-command process (format "MAIL FROM:%s@%s" (user-login-name) (smtpmail-fqdn)))
(smtpmail-send-command process (format "MAIL FROM: <%s>%s%s"
- (or envelope-from
- smtpmail-mail-address)
+ envelope-from
size-part
body-part))
-
+
(if (or (null (car (setq response-code (smtpmail-read-response process))))
(not (integerp (car response-code)))
(>= (car response-code) 400))