Submit a ticketCall us

Training ClassThe Orion® Platform Instructor-led Classes

Provided by SolarWinds® Academy, these trainings will introduce users to the Orion Platform and its features, management, and navigation. These courses are suitable for users looking to discover new tips, tricks, and ways to adapt their Orion products to better suit their monitoring needs:
Deploying the Orion Platform
Configuring Orion views, maps, and accounts
Configuring Orion alerts and reports

Reserve your seat.

Home > Success Center > Database Performance Analyzer (DPA) > DPA - Knowledgebase Articles > Office 365 and Google as an SMTP Relay for DPA

Office 365 and Google as an SMTP Relay for DPA

Updated January 15th, 2018

Overview

In order to be able to use Office 365 or Google as an SMTP relay host, additional properties need to be added. The same goes for when this is hosted on the Azure platform with 2-factor authentication.

Environment

  • DPA 11.1.467 and later

Steps

  1. Go to Options -> Administration (tab) -> Configure Mail Server.
  2. In the Additional Properties box, add:
    • mail.smtp.starttls.enable=true
    • mail.smtp.auth=true
  3. Deselect Secure SMTP, and use port 587.

 

Notes: 

  • The 'From' and 'User' must match exactly in order to authenticate. 
  • Special characters like '%', '#' and ':' in the password break authentication.
  • Google might require setting less secure apps: https://myaccount.google.com/lesssecureapps (© 2019 Google Corporation, available at https://google.com, obtained on January 15, 2019)

 

Office365_SMTP.png

 

Note for Azure with 2 Factor Authentication

 

  • If you are using Azure with 2 Factor Authentication you will need to generate an API password:
     
  1. Untick the "secure smtp"
  2. host: smtp.office365.com
  3. port: 587
  4. user: serviceaccount@YOURDOMAIN.com
  5. password: APIPassword
  6. Additional properties: mail.smtp.starttls.enable=true
  7. mail.smtp.auth=true


Note that API password must be created via this link

(you'll need to log in as the service account and authenticate normally via 2FA)
https://account.activedirectory.windowsazure.com/AppPasswords.aspx (© 2019 Microsoft Corporation, available at https://windowsazure.com, obtained on January 15, 2019)

 

Last modified

Tags

Classifications

Public