messages not kept in sent folder in mu4e emacs

怎甘沉沦 提交于 2019-12-08 10:52:36

问题


I have mu4e smtp setup with the default mu4e mail sending function. I tried nullmailer but I didn't manage to configure it to work from mu4e. I was following this tutorial for nailmailer, and this one for the default setup.

I was trying with and without a code that's recommended for gmail (my account is not gmail) because of the way gmail saves the sent items , in order to avoid duplicates (see here for mu4e user manual):

;; don't save messages to Sent Messages, Gmail/IMAP takes care of this
(setq mu4e-sent-messages-behavior 'delete)

The problem I'm facing at the moment is that the sent emails are not saved to the sent folder, not locally and not on the server.

my init file looks like this:

(setq mu4e-sent-folder "/sent"
      mu4e-drafts-folder "/drafts"
      message-send-mail-function 'smtpmail-send-it
      user-mail-address "MY.EMAIL.ADDRESS"
      smtpmail-default-smtp-server "MY.SMTP.SERVER"
      smtpmail-smtp-server "MY.SMTP.SERVER"
      smtpmail-stream-type 'starttls
      smtpmail-smtp-service 587)

回答1:


I found it ..

(require 'smtpmail)

was missing from my init file. No wonder there was little interest in my question...



来源:https://stackoverflow.com/questions/47661276/messages-not-kept-in-sent-folder-in-mu4e-emacs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!