[isomorphic-core] add office365 in provider list

This commit is contained in:
Evan Morikawa 2016-12-16 18:51:11 -05:00
parent b46ffd4a3f
commit 39b0e6c3ee

View file

@ -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') {