Commit 29d1b05f 29d1b05f1f791725037e78aa9733422826d5642d by Sergey Poznyakoff

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

1 parent c1d657fd
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
44 (else 44 (else
45 (let ((out-msg (mu-message-copy sieve-current-message))) 45 (let ((out-msg (mu-message-copy sieve-current-message)))
46 (mu-message-set-header out-msg "X-Sender" sieve-my-email) 46 (mu-message-set-header out-msg "X-Sender" sieve-my-email)
47 (sieve-message-bounce out-msg (list address)) 47 (mu-message-send out-msg #f sender address)
48 (mu-message-destroy out-msg)) 48 (mu-message-destroy out-msg))
49 (mu-message-delete sieve-current-message))))) 49 (mu-message-delete sieve-current-message)))))
50 50
......
...@@ -79,8 +79,7 @@ ...@@ -79,8 +79,7 @@
79 (close-output-port port) 79 (close-output-port port)
80 (mu-mime-add-part mime mesg)) 80 (mu-mime-add-part mime mesg))
81 81
82 (let ((mesg (mu-mime-get-message mime))) 82 (mu-message-send (mu-mime-get-message mime) #f sieve-daemon-email sender)
83 (sieve-message-bounce mesg (list sender)))
84 (mu-message-delete sieve-current-message))) 83 (mu-message-delete sieve-current-message)))
85 84
86 ;;; Register action 85 ;;; Register action
......