;;; -*-Scheme-*-
;;;
-;;; $Id: sendmail.scm,v 1.38 1997/11/06 06:57:42 cph Exp $
+;;; $Id: sendmail.scm,v 1.39 1997/11/06 07:41:56 cph Exp $
;;;
;;; Copyright (c) 1991-97 Massachusetts Institute of Technology
;;;
lookup-buffer)
trace-buffer
(lambda (port banner)
+ banner
(smtp-command/helo port)
(smtp-command/mail port from)
(let ((responses
(pop-up-temporary-buffer "*SMTP-invalid*"
'(READ-ONLY FLUSH-ON-SPACE)
(lambda (buffer window)
+ window
(let ((m (mark-left-inserting-copy (buffer-start buffer))))
(for-each (lambda (rcpt response)
(if (not (valid-response? response))
(cons* (string-head (car responses) 3)
" "
(let ((lines
- (map (lambda (response) (string-tail (car responses) 4))
+ (map (lambda (response) (string-tail response 4))
responses)))
(cons (car lines)
(append-map (lambda (line) (list "\n" line))