Fixed #<unspecified> (process-smtp) value on disconnect.
authorTim Vaughan <tgvaughan@gmail.com>
Thu, 5 Sep 2019 07:23:04 +0000 (09:23 +0200)
committerTim Vaughan <tgvaughan@gmail.com>
Thu, 5 Sep 2019 07:23:04 +0000 (09:23 +0200)
lambdamail.scm

index 6a4d608..9bc7197 100644 (file)
           (loop msg received-messages))
          (else
           (smtp-session 'send "502 command not implemented")
-          (loop msg received-messages)))))))
+          (loop msg received-messages))))))
+  '())
 
 
 ;;; Sending/Delivering messages
 ;;
 
 (define (deliver-messages config messages)
-  (print "**** Attempting delivery of " (length messages) " mail items.")
+  (print "*** Attempting delivery of " (length messages) " mail items.")
   (filter (lambda (msg) (not (deliver-message msg config)))
           messages))