Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[misc] Got mu4e Error 102 after send email with mu 1.12.4 #2695

Closed
tshu-w opened this issue Apr 17, 2024 · 0 comments
Closed

[misc] Got mu4e Error 102 after send email with mu 1.12.4 #2695

tshu-w opened this issue Apr 17, 2024 · 0 comments
Labels

Comments

@tshu-w
Copy link

tshu-w commented Apr 17, 2024

Describe the issue
After upgrading to mu 1.12.4, I got error in process filter: mu4e-error: [mu4e] Error 102: unknown command after sending the email.

[mu4e] Switch to the fastmail context
[mu4e] Switched context to fastmail
[mu4e] Found mu version 1.12.4
Mark set
Saving file /Users/wangtianshu/.local/state/mail/fastmail/Drafts/cur/1713360139.247397d597417125.macbook-pro:2,DS...
Wrote /Users/wangtianshu/.local/state/mail/fastmail/Drafts/cur/1713360139.247397d597417125.macbook-pro:2,DS
Sending...
Sending via mail...
Decrypting /Users/wangtianshu/.authinfo.gpg...done
Sending email
Sending email done
Save this mail sending choice? (y or n) y
Saving file /Users/wangtianshu/dotfiles/config/emacs/var/custom.el...
Wrote /Users/wangtianshu/dotfiles/config/emacs/var/custom.el
Saving file /Users/wangtianshu/.local/state/mail/fastmail/Sent/cur/1713360139.6054eec968c00d70.macbook-pro:2,S...
Wrote /Users/wangtianshu/.local/state/mail/fastmail/Sent/cur/1713360139.6054eec968c00d70.macbook-pro:2,S
Sending...done
error in process filter: mu4e-error: [mu4e] Error 102: unknown command '(sent :path "/Users/wangtianshu/.local/state/mail/fastmail/Drafts/cur/1713360139.247397d597417125.macbook-pro:2,DS")'
error in process filter: [mu4e] Error 102: unknown command '(sent :path "/Users/wangtianshu/.local/state/mail/fastmail/Drafts/cur/1713360139.247397d597417125.macbook-pro:2,DS")'
Lazy desktop load complete

Environment
OS: macOS 14.4.1 (23E224)
Emacs: GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.2.0, NS appkit-2487.30 Version 14.2 (Build 23C64)) of 2023-12-15
mu: 1.12.4
configs:

    (setq mu4e-maildir "$XDG_STATE_HOME/mail"
        mu4e-attachment-dir "~/Downloads"
        mu4e-get-mail-command "mbsync -c $XDG_CONFIG_HOME/isync/mbsyncrc -a"
        mu4e-main-buffer-hide-personal-addresses t
        send-mail-function 'smtpmail-send-it)

  (setq mu4e-context-policy 'pick-first
        mu4e-contexts
        `(,(make-mu4e-context
            :name "fastmail"
            :match-func (lambda (msg)
                          (when msg
                            (string-prefix-p "/fastmail" (mu4e-message-field msg :maildir))))
            :enter-func (lambda () (mu4e-message "Switch to the fastmail context"))
            :vars '((user-mail-address . "wang@tianshu.me")
                    (message-signature . "Tianshu Wang\n")
                    (mu4e-sent-folder . "/fastmail/Sent")
                    (mu4e-drafts-folder . "/fastmail/Drafts")
                    (mu4e-trash-folder . "/fastmail/Trash")
                    (mu4e-refile-folder . "/fastmail/Archive")
                    (smtpmail-smtp-server . "smtp.fastmail.com")
                    (smtpmail-stream-type . ssl)
                    (smtpmail-smtp-service . 465)
                    (smtpmail-auth-credentials . (expand-file-name "~/.authinfo.gpg"))))
          ,(make-mu4e-context
            :name "iscas"
            :match-func (lambda (msg)
                          (when msg
                            (string-prefix-p "/iscas" (mu4e-message-field msg :maildir))))
            :enter-func (lambda () (mu4e-message "Switch to the iscas context"))
            :vars '((user-mail-address . "tianshu2020@iscas.ac.cn")
                    (message-signature . "王天舒\n")
                    (mu4e-sent-folder . "/iscas/Sent")
                    (mu4e-drafts-folder . "/iscas/Drafts")
                    (mu4e-trash-folder . "/iscas/Trash")
                    (mu4e-refile-folder . "/iscas/Archive")
                    (smtpmail-smtp-server . "mail.cstnet.cn")
                    (smtpmail-stream-type . ssl)
                    (smtpmail-smtp-service . 994)
                    (smtpmail-auth-credentials . (expand-file-name "~/.authinfo.gpg"))))))
@tshu-w tshu-w added the new label Apr 17, 2024
@tshu-w tshu-w closed this as completed Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant