test/emacs: match mml settings in emacs_{fcc,deliver}_message

This will allow the sending of signed messages via smtp in the test
suite.
This commit is contained in:
David Bremner 2022-01-19 20:50:49 -04:00
parent 3bf6487359
commit c8d292e25b

View file

@ -54,8 +54,9 @@ emacs_deliver_message () {
(message-goto-body)
(insert \"${body}\")
$*
(notmuch-mua-send-and-exit))"
(let ((mml-secure-smime-sign-with-sender t)
(mml-secure-openpgp-sign-with-sender t))
(notmuch-mua-send-and-exit)))"
# In case message was sent properly, client waits for confirmation
# before exiting and resuming control here; therefore making sure
# that server exits by sending (KILL) signal to it is safe.