Skip to content

Commit 0d43463

Browse files
authored
add gmail configuration
d2020-04-17 t17:10
1 parent 818a0cd commit 0d43463

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,14 @@ See [Running Solid behind a reverse proxy](https://github.com/solid/node-solid-s
122122
##### How can I send emails to my users with my Gmail?
123123

124124
> To use Gmail you may need to configure ["Allow Less Secure Apps"](https://www.google.com/settings/security/lesssecureapps) in your Gmail account unless you are using 2FA in which case you would have to create an [Application Specific](https://security.google.com/settings/security/apppasswords) password. You also may need to unlock your account with ["Allow access to your Google account"](https://accounts.google.com/DisplayUnlockCaptcha) to use SMTP.
125+
also add to `config.json`
126+
```
127+
"useEmail": true,
128+
"emailHost": "smtp.gmail.com",
129+
"emailPort": "465",
130+
"emailAuthUser": "[email protected]",
131+
"emailAuthPass": "gmailPass"
132+
```
125133

126134
### Upgrading from version 4
127135
To upgrade from version 4 to the current version 5, you need to run a migration script, as explained in the [v5 upgrade notes](https://github.com/solid/node-solid-server/blob/master/CHANGELOG.md#500-upgrade-notes).

0 commit comments

Comments
 (0)