Commit 2fbc1118 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(smtpmail-send-it): Create smtpmail-queue-dir if it doesn't exist.

parent df7eb2bd
......@@ -354,6 +354,8 @@ This is relative to `smtpmail-queue-dir'.")
(buffer-data (create-file-buffer file-data))
(buffer-elisp (create-file-buffer file-elisp))
(buffer-scratch "*queue-mail*"))
(unless (file-exists-p smtpmail-queue-dir)
(make-directory smtpmail-queue-dir t))
(with-current-buffer buffer-data
(insert-buffer tembuf)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment