I'm trying to use
mu4e to send/receive email with my Gmail account. I've followed what I believe is the official documentation here, but I think some of the description here seems outdated. As far as receiving mail goes, everything's fine - I'm using
offlineimap and an app password from Google (which is saved in an encrypted file).
Sending mail is a problem - I write my message and hit
^C ^C, and am then prompted for an smtp username and password.
Here is the template that I'm using in my
(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 "USERNAME@gmail.com" nil)) smtpmail-default-smtp-server "smtp.gmail.com" smtpmail-smtp-server "smtp.gmail.com" smtpmail-smtp-service 587)
which is from the standard Gmail template with USERNAME appropriately changed.
I want to keep this setup relatively simple and I've seen other issues with more complicated arrangements that I want to avoid to begin with.
It does seem to me that I need a password of some kind -- how do I set this up (and why isn't this mentioned in this standard template?!). I played around with
gnus before, is the simplest solution getting another app password and saving it to some