Skip to content

Commit

Permalink
A small update to Gmail / 2FA setup
Browse files Browse the repository at this point in the history
Google updated thier security and requires 2fa. The added notes help update the .msrtpc file to allow it to send email again.
  • Loading branch information
dom-robinson authored Jul 11, 2022
1 parent 0fdbbda commit f47e3bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/emailing.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ and use this within the `/home/pi/.msmtprc` file for the `password` setting.
**Note**: This file defaults to a template to configure a gmail email account to send images. If you want to know more about
how to configure this file for additional account types, see the [msmtp](https://wiki.debian.org/msmtp) documentation.

Since May 2022 Google have enforced 2FA. You need to setup 2FA in your Google Account setup, and then obtain an 'App Password'
This app password is then used INSTEAD OF your gmail account's normal password in the '''./msmtprc''' file.
Follow this video for the process of obtaining the app password:
[https://www.youtube.com/watch?v=Jp9B0rY6Fxk&t=138s](https://www.youtube.com/watch?v=Jp9B0rY6Fxk&t=138s)

## Testing (Optional)

If you'd like to see whether the configurations you've set are working, you can run a quick test from the command line using
Expand Down

0 comments on commit f47e3bf

Please sign in to comment.