set imap_user = "<your-mail-name>@gmail.com" set imap_pass = '<your-app-password>'
# ================ SMTP ====================
set smtp_url = "smtp://<your-mail-name>@smtp.gmail.com:587/" set smtp_pass = '<your-app-password>' set ssl_force_tls = yes # Require encrypted connection
# ================ GMail =====================
set folder = "imaps://imap.gmail.com/" # 根据 mutt 中邮箱列表是中文还是英文来配置 set spoolfile = "+INBOX" # 或者 "+[Gmail]/所有邮件" set record = "+[Gmail]/已发邮件" set postponed = "+[Gmail]/草稿" set mbox = "+[Gmail]/所有邮件" set trash = "+[Gmail]/已删除邮件"
set editor = emacs set edit_headers = yes # See the headers when editing set charset = UTF-8 # value of $LANG; also fallback for send_charset set include # 回复时包含原文 # Sender, email address, and sign-off line must match unset use_domain # because joe@localhost is just embarrassing set realname = "<your-real-name>" set from = "<your-mail-name>@gmail.com" set use_from = yes