;;;; Google mail 을 사용하기 위해서는 google 에서 [보안이 약한 기기에서 접속 허용]을 승인해 줘야만 접속할 수 있다.
;;;; all set then --> M-x mu4e
;;;; ----------------------------------------------------------------------
;;;; src: https://github.com/djcb/mu
;;;; ----------------------------------------------------------------------
;;;; ref. mu4e - http://qdot.github.io/conf_emacs/
;(require 'mu4e-vars)
;
;(when linux-p
; (setq mu4e-mu-binary "/home/qdot/usr/bin/mu"))
;
;(when macosx-p
; (setq mu4e-mu-binary "/opt/homebrew/bin/mu"))
;
;(setq mu4e-maildir "~/Mail") ;; top-level Maildir
;(setq mu4e-html2text-command "w3m -dump -T text/html")
;(setq mu4e-view-prefer-html t)
;(setq mu4e-use-fancy-chars t)
;(setq mu4e-get-mail-command "offlineimap")
;(setq mu4e-update-interval 300)
;(setq mu4e-attachment-dir "~/Downloads")
;
;(when (fboundp 'imagemagick-register-types)
; (imagemagick-register-types))
;(setq mu4e-view-show-images t)
;(setq mu4e-view-show-addresses t)
;;;; ----------------------------------------------------------------------
;;;; config. http://www.djcbsoftware.nl/code/mu/mu4e/Gmail-configuration.html#Gmail-configuration
(require 'mu4e)
;; default
;; (setq mu4e-maildir "~/Maildir")
(setq mu4e-drafts-folder "/[Gmail].Drafts")
(setq mu4e-sent-folder "/[Gmail].Sent Mail")
(setq mu4e-trash-folder "/[Gmail].Trash")
;; don't save message to Sent Messages, Gmail/IMAP takes care of this
(setq mu4e-sent-messages-behavior 'delete)
;; (See the documentation for `mu4e-sent-messages-behavior' if you have
;; additional non-Gmail addresses and want assign them different
;; behavior.)
;; setup some handy shortcuts
;; you can quickly switch to your Inbox -- press ``ji''
;; then, when you want archive some messages, move them to
;; the 'All Mail' folder by pressing ``ma''.
(setq mu4e-maildir-shortcuts
'( ("/INBOX" . ?i)
("/[Gmail].Sent Mail" . ?s)
("/[Gmail].Trash" . ?t)
("/[Gmail].All Mail" . ?a)))
;; allow for updating mail using 'U' in the main view:
(setq mu4e-get-mail-command "offlineimap")
;; something about ourselves -- change this
(setq
user-mail-address "google_Accoiunt@gmail.com"
user-full-name "Yongsu Guo"
mu4e-compose-signature
(concat
"Alex Bender\n"
"http://youngsu.blogspot.kr\n"))
;; sending mail -- replace USERNAME with your gmail username
;; also, make sure the gnutls command line utils are installed
;; package 'gnutls-bin' in Debian/Ubuntu
(require 'smtpmail)
(setq message-send-mail-function 'smtpmail-send-it
starttls-use-gnutls t
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
smtpmail-auth-credentials
'(("smtp.gmail.com" 587 "alex.bender@gmail.com" nil))
smtpmail-default-smtp-server "smtp.gmail.com"
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587)
;; alternatively, for emacs-24 you can use:
;;(setq message-send-mail-function 'smtpmail-send-it
;; smtpmail-stream-type 'starttls
;; smtpmail-default-smtp-server "smtp.gmail.com"
;; smtpmail-smtp-server "smtp.gmail.com"
;; smtpmail-smtp-service 587)
;; don't keep message buffers around
(setq message-kill-buffer-on-exit t)
Subscribe to:
Post Comments (Atom)
Pranten
Pranten
-
* Cinnamon shortcut The Complete List Of Linux Mint 18 Keyboard Shortcuts For Cinnamon by Gary Newell Updated March 23, 2017 1. Toggle...
-
* postgres - pgmodelear ** new version > download: https://github.com/pgmodeler/pgmodeler sudo apt-get install qt-sdk sudo apt-get ins...
-
how to connect postgres in openoffice --> https://wiki.openoffice.org/wiki/Base/connectivity/PostgreSQL Base/connectivity/PostgreS...
No comments:
Post a Comment