emacs with mew
时间:2009-01-17
来源:互联网
有用emacs收发邮件的吗?我用的是mew这个软件,发现无法发信,只能收信。
下面是我的mew配置项:
(autoload 'mew "mew" nil t)
(autoload 'mew-send "mew" nil t)
(if (boundp 'read-mail-command)
(setq read-mail-command 'mew))
(autoload 'mew-user-agent-compose "mew" nil t)
(if (boundp 'mail-user-agent)
(setq mail-user-agent 'mew-user-agent))
(if (fboundp 'define-mail-user-agent)
(define-mail-user-agent
'mew-user-agent
'mew-user-agent-compose
'mew-draft-send-message
'mew-draft-kill
'mew-send-hook))
(setq mew-pop-size 0)
(setq mew-smtp-auth-list nil)
(setq toolbar-mail-reader 'Mew)
(set-default 'mew-decode-quoted 't)
(setq mew-prog-pgp "gpg")
(setq mew-name "zxsu")
(setq mew-user "suzh1984")
(setq mew-smtp-user "suzh1984")
(setq mew-mail-domain "163.com")
(setq mew-smtp-auth-list nil)
(setq mew-smtp-server "smtp.163.com")
(setq mew-pop-server "pop.163.com")
(setq mew-pop-user "suzh1984")
(setq mew-pop-auth 'pass)
(setq mew-use-cached-passwd t)
(setq mew-icon-directory (expand-file-name "mew/etc" dtsite-dir))
(when (boundp 'utf-translate-cjk)
(setq utf-translate-cjk t)
(custom-set-variables
'(utf-translate-cjk t)))
(if (fboundp 'utf-translate-cjk-mode)
(utf-translate-cjk-mode 1))
下面是我的mew配置项:
(autoload 'mew "mew" nil t)
(autoload 'mew-send "mew" nil t)
(if (boundp 'read-mail-command)
(setq read-mail-command 'mew))
(autoload 'mew-user-agent-compose "mew" nil t)
(if (boundp 'mail-user-agent)
(setq mail-user-agent 'mew-user-agent))
(if (fboundp 'define-mail-user-agent)
(define-mail-user-agent
'mew-user-agent
'mew-user-agent-compose
'mew-draft-send-message
'mew-draft-kill
'mew-send-hook))
(setq mew-pop-size 0)
(setq mew-smtp-auth-list nil)
(setq toolbar-mail-reader 'Mew)
(set-default 'mew-decode-quoted 't)
(setq mew-prog-pgp "gpg")
(setq mew-name "zxsu")
(setq mew-user "suzh1984")
(setq mew-smtp-user "suzh1984")
(setq mew-mail-domain "163.com")
(setq mew-smtp-auth-list nil)
(setq mew-smtp-server "smtp.163.com")
(setq mew-pop-server "pop.163.com")
(setq mew-pop-user "suzh1984")
(setq mew-pop-auth 'pass)
(setq mew-use-cached-passwd t)
(setq mew-icon-directory (expand-file-name "mew/etc" dtsite-dir))
(when (boundp 'utf-translate-cjk)
(setq utf-translate-cjk t)
(custom-set-variables
'(utf-translate-cjk t)))
(if (fboundp 'utf-translate-cjk-mode)
(utf-translate-cjk-mode 1))
作者: zpcat 发布时间: 2009-01-17
In my experience, we have 2 ways to solve the problem,
1st, try to send mail from your own mail service, such as sendmail
add the following to the .mew.el
("inria"
("mailbox-type" . pop)
("pop-ssl" . t)
("proto" . "+")
("pop-server" . "xxx.xxx.xx")
("name" . " ") ;; to be completed
("user" . " ") ;; to be completed
("smtp-server" . "localhost")
("pop-user" . " ") ;; to be completed
("mail-domain" . "xx.xx")
("inbox-folder" . "+inbox")
("pop-delete" . nil)
)
2nd
for the 163.com, you can do same thing as follows, change gmail to 163.com. But you need to check the SSL
;; pop settings
("pop-server" . "pop.gmail.com")
("pop-user" . "xxx.com")
("pop-auth" . pass) ;; authentication with USER/PASS (i.e. plain password)
("pop-delete" . t) ;; for testing, do not delete the msg on the pop
("pop-size" . 0) ;; The limit size of messages to be retrieved by POP
("pop-ssl" . t)
("pop-ssl-port" . "995(check the 163 code)") ;; use default value
("ssl-cert-directory" . "~/.certs");;not quite sure whether needed by 163
("ssl-verify-level" . 0) ;; do not verify, otherwise the connect can't create
1st, try to send mail from your own mail service, such as sendmail
add the following to the .mew.el
("inria"
("mailbox-type" . pop)
("pop-ssl" . t)
("proto" . "+")
("pop-server" . "xxx.xxx.xx")
("name" . " ") ;; to be completed
("user" . " ") ;; to be completed
("smtp-server" . "localhost")
("pop-user" . " ") ;; to be completed
("mail-domain" . "xx.xx")
("inbox-folder" . "+inbox")
("pop-delete" . nil)
)
2nd
for the 163.com, you can do same thing as follows, change gmail to 163.com. But you need to check the SSL
;; pop settings
("pop-server" . "pop.gmail.com")
("pop-user" . "xxx.com")
("pop-auth" . pass) ;; authentication with USER/PASS (i.e. plain password)
("pop-delete" . t) ;; for testing, do not delete the msg on the pop
("pop-size" . 0) ;; The limit size of messages to be retrieved by POP
("pop-ssl" . t)
("pop-ssl-port" . "995(check the 163 code)") ;; use default value
("ssl-cert-directory" . "~/.certs");;not quite sure whether needed by 163
("ssl-verify-level" . 0) ;; do not verify, otherwise the connect can't create
引用:
作者: zpcat
有用emacs收发邮件的吗?我用的是mew这个软件,发现无法发信,只能收信。
下面是我的mew配置项: (autoload 'mew "mew" nil t) (autoload 'mew-send "mew" nil t) (if (boundp 'read-mail-command) (setq read-mail-command 'mew)) (autoload 'mew-user-agent-compose "mew" nil t) (if (boundp 'mail-user-agent) (setq mail-user-agent 'mew-user-agent)) (if (fboundp 'define-mail-user-agent) (define-mail-user-agent 'mew-user-agent 'mew-user-agent-compose 'mew-draft-send-message 'mew-draft-kill 'mew-send-hook)) (mode) (utf-translate-cjk-mode 1)) |
作者: xemacs 发布时间: 2009-01-18
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28