Skip to content
Browse files

Updated README

  • Loading branch information...
1 parent a7491f2 commit 9c3bbc0300ed5ac4bb53a287f3da7aa2a5e1a0ab Andris Reinman committed Sep 10, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 README.md
View
6 README.md
@@ -220,12 +220,16 @@ var transportOptions = {
user: "example.user@gmail.com",
clientId: "8819981768.apps.googleusercontent.com",
clientSecret: "{client_secret}",
- refreshToken: "1/xEoDL4iW3cxlI7yDbSRFYNG01kVKM2C-259HOF2aQbI"
+ refreshToken: "1/xEoDL4iW3cxlI7yDbSRFYNG01kVKM2C-259HOF2aQbI",
+ accessToken: "vF9dft4qmTc2Nvb3RlckBhdHRhdmlzdGEuY29tCg==",
+ timeout: 3600
}
}
}
```
+`accessToken` and `timeout` values are both optional. If XOAUTH2 login fails a new access token is generated automatically and the login is retried.
+
##### XOAUTH
Older XOAUTH is also supporteb by **nodemailer** for SMTP. XOAUTH is based on OAuth protocol 1.0 and is considered deprecated.

0 comments on commit 9c3bbc0

Please sign in to comment.
Something went wrong with that request. Please try again.