tembuf))
                      (error "Sending failed; SMTP protocol error"))
                (error "Sending failed; no recipients"))
-           (let* ((file-data (concat 
-                              smtpmail-queue-dir
-                                  (mapconcat
-                                       (lambda (arg) (format "%x" arg))
-                                       (current-time) "")))
+           (let* ((file-data (concat smtpmail-queue-dir
+                                     (mapconcat
+                                      (function
+                                       (lambda (arg) (format "%x" arg)))
+                                      (current-time) "")))
                   (file-elisp (concat file-data ".el"))
                   (buffer-data (create-file-buffer file-data))
                   (buffer-elisp (create-file-buffer file-elisp))