Project

General

Profile

[Emain notifications] Office365: Error 550 5.2.1 Mailbox cannot be accessed

Added by Alex Doe over 7 years ago

Hi,

I'm new in rails and redmine world, I'm trying to configure email notifications with office365 and I face this error : "550 5.2.1 Mailbox cannot be accessed". I tried using Gmail and it works but not with Office365.

About my application which runs on ubuntu 16.04 VM

Environment:
  Redmine version           3.2.1.stable
  Ruby version              2.3.1-p112 (206-04-26) [x86_64-linux-gnu]
  Rails version             4.2.6
  Environment               production
  Database adapter          Mysql2
SCM:
  Git                       2.7.4
  Filesystem

My configuration.yml:

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      enable_starttls_auto: true
      address: "smtp.office365.com" 
      port: '587'
      domain: "my_domain" 
      authentication: :login
      user_name: "my_address@my_domain" 
      password: "my_password" 

I apologize if I did a syntax mistake or something like that, I'm really new in rails world.

Thanks in advance !

Best regards,