本文介绍了邮件未保存在mu4e emacs的已发送文件夹中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的mu4e smtp设置具有默认的mu4e邮件发送功能。
我尝试了nullmailer,但没有设法将其配置为可从mu4e使用。
我正在关注教程,以及为默认设置。

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.

我尝试使用和不使用推荐用于gmail(我的帐户不是gmail)的代码(因为gmail保存已发送邮件的方式,以避免重复(请参见(用于mu4e用户手册):

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.

我的初始化文件如下:

(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)


推荐答案

我找到了..

(require 'smtpmail)




难怪对我的问题几乎没有兴趣...

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

这篇关于邮件未保存在mu4e emacs的已发送文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 21:18