Last active
July 24, 2017 22:51
-
-
Save carld/e6865486c41404bca8d2ce1324babdfa to your computer and use it in GitHub Desktop.
send email from Emacs via googlemail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If 2FA is enabled for gmail: | |
1) Create an App password under Google, My Account, Sign-in and Security, App passwords | |
2) Copy the generated password before it disappears | |
In Emacs: | |
1) C-x m ; compose a new email in Emacs, use C-n and C-p to navigate between fields | |
2) C-c C-c ; send email | |
3) smtp ; select method of sending | |
4) smtp.googlemail.com ; enter the smtp server name | |
5) ; enter username | |
6) ; enter password using the generated app password if 2FA is enabled | |
7) yes ; save credentials to ~/.authinfo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment