Skip to content

Commit

Permalink
fix: added hotmail fix for IMAP TTI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Oct 4, 2024
1 parent 18408e0 commit 790c338
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ const imapConfigurations = [
name: 'Outlook/Hotmail',
forwarder: env.TTI_OUTLOOK_FORWARDER,
config: {
host: 'outlook.office365.com',
host:
typeof env.TTI_OUTLOOK_IMAP_USER === 'string' &&
env.TTI_OUTLOOK_IMAP_USER.endsWith('@hotmail.com')
? 'imap-mail.outlook.com'
: 'outlook.office365.com',
port: 993,
secure: true,
auth: {
Expand Down

0 comments on commit 790c338

Please sign in to comment.