+ -
当前位置:首页 → 问答吧 → emacs with mew

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

作者: 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





引用:
作者: 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

热门下载

更多