2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

wanderlustでoutlookのメールを送受信する

Posted at

outlookのメールをwanderlustで送受信するときの.wlと.foldersの設定のメモ
IMAPを使って受信する。取得したメールアドレスはyyy@outlook.jpとする。

.wlの一部(関係のある部分だけ抜粋)

.wl
;; wl-user-mail-address-listにメールアドレスを追加する
(setq wl-user-mail-address-list (list "yyy@outlook.jp"))

;; 送信用の設定
(setq wl-draft-config-alist
      '(((string-match "outlook" wl-draft-parent-folder)
         (template . "outlook")
         (wl-smtp-posting-user . "yyy@outlook.jp") ;ユーザー名は自分のメールアドレス
         (wl-smtp-posting-server . "smtp-mail.outlook.com")
         (wl-smtp-authenticate-type . "plain")
         (wl-smtp-connection-type . 'starttls)
         (wl-smtp-posting-port . 587) ; ブロックされてなければ25番でもおk?
         (wl-local-domain . "outlook.jp")
         (wl-message-id-domain . "smtp-mail.outlook.com"))))

(setq wl-template-alist
      '(("outlook"
         (wl-from . "Your Name <your@address>")
         ("From" . wl-from))))

Gmailなんかではユーザー名はそのままアカウント名で良いが、outlookの場合はメールアドレスがユーザー名になるので注意。
メールアドレスはoutlook.comとか選べた気がするのでその場合outlook.jpの部分はoutlook.comに書きなおさないといけない。

.folders
OUTLOOK {
   %INBOX:"yyy@outlook.jp"/clear@imap-mail.outlook.com:993!   "In"
   %Sent:"yyy@outlook.jp"/clear@imap-mail.outlook.com:993!    "Sent"
   %Spam:"yyy@outlook.jp"/clear@imap-mail.outlook.com:993!    "Spam"
}

.foldersはこんな感じに... 割と適当。

とりあえずこれで読み書きくらいはできるはず。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?