Menu

How to use Office 365 for email notification?

eavenhuang
2022-07-11
2022-07-11
  • eavenhuang

    eavenhuang - 2022-07-11

    Dear experts,

    I didn't find an instruction step-by-step to help with email notification. We don't have an in-place SMTP server now, but can we just use Office 365 with iTop directly? We have Office 365 subscription A1 and A3 and we use exchange online only.

    Any advice would be really appreciated!

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-07-11

    We used to do it at my previous employer, they still use it nowadays.

    Just google the SMTP settings for Office 365 and configure them in iTop's configuration (file) :)
    https://www.itophub.io/wiki/page?id=latest%3Aadmin%3Aitop_configuration_file

     

    Last edit: Jeffrey Bostoen 2022-07-11
    • eavenhuang

      eavenhuang - 2022-07-11

      Hi Jeffrey,

      Thanks a lot for pointing me in this direction. I just googled around and use this config: https://btbusiness.custhelp.com/app/answers/detail/a_id/18515/~/what-are-the-office-365-server-settings%3F

      However I got following errors:
      Error: 'Expected response code 250 but got code "451", with message "451 5.7.3 STARTTLS is required to send mail [SG2PR02CA0021.apcprd02.prod.outlook.com] "'

      Any clue what was wrong?

       
      • eavenhuang

        eavenhuang - 2022-07-11

        Hi Jeffrey,

        I just added one line inside our configuration file:
        'email_transport_smtp.encryption' => 'TLS',

        It seems to be testing fine and my mailbox can receive that text mail now. I will go ahead to set up the notification rules to see if everything works fine. Thanks again for pointing me in the direction!

         
        👍
        1

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.