Commit 29d1b05f 29d1b05f1f791725037e78aa9733422826d5642d by Sergey Poznyakoff

Use mu-message-send instead of sieve-message-bounce.

1 parent c1d657fd
......@@ -44,7 +44,7 @@
(else
(let ((out-msg (mu-message-copy sieve-current-message)))
(mu-message-set-header out-msg "X-Sender" sieve-my-email)
(sieve-message-bounce out-msg (list address))
(mu-message-send out-msg #f sender address)
(mu-message-destroy out-msg))
(mu-message-delete sieve-current-message)))))
......
......@@ -79,8 +79,7 @@
(close-output-port port)
(mu-mime-add-part mime mesg))
(let ((mesg (mu-mime-get-message mime)))
(sieve-message-bounce mesg (list sender)))
(mu-message-send (mu-mime-get-message mime) #f sieve-daemon-email sender)
(mu-message-delete sieve-current-message)))
;;; Register action
......