mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-01 18:44:01 +08:00
[isomorphic-core] add office365 in provider list
This commit is contained in:
parent
b46ffd4a3f
commit
39b0e6c3ee
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ module.exports = (sequelize, Sequelize) => {
|
|||
secure: ssl_required,
|
||||
}
|
||||
|
||||
if (this.provider === "imap") {
|
||||
if (this.provider === "imap" || this.provider === "office365") {
|
||||
const {smtp_username, smtp_password} = this.decryptedCredentials();
|
||||
config.auth = { user: smtp_username, pass: smtp_password}
|
||||
} else if (this.provider === 'gmail') {
|
||||
|
|
Loading…
Reference in a new issue