On 2024-09-26, Grant Edwards <grant.b.edwards@gmail.com> wrote:
I just did a quick test, and sending via smtp.gmail.com using an app
password worked fine from mutt. I don't have msmtp set up at the
moment.
Ijust set up msmtp and it works too. Below is the msmtp config,
* If you want, replace "account gmail" with "account default", then
you don't have to supply the "-a gmail" option to msmtp.
* replace (in two places) username@gmail.com with your email address.
* replace XXXX XXXX XXXX XXXX with your app password.
-----------------------------------8<-------------------------------------
syslog LOG_MAIL
account gmail
maildomain gmail.org
syslog on
from gmailusername@gmail.com
host smtp.gmail.com
port 465
tls on
tls_certcheck off
tls_starttls off
auth on
user gmailusername@gmail.com
password "XXXX XXXX XXXX XXXX"
-----------------------------------8<-------------------------------------