Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. NETXMS EMAIL NOTIFICATION - OFFICE365

NETXMS EMAIL NOTIFICATION - OFFICE365

Scheduled Pinned Locked Moved Support
5 Posts 3 Posters 49.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    R
    ruidias
    wrote on last edited by
    #1

    Hello everyone,

    I've searched the forum and although I've found a few posts I haven't been able to find a solution for sending notification emails using the Office365 servers.

    Example of my configuration:
    Server=smtp.office365.com
    [email protected]
    Password=##########
    Port=587
    TLSMode=STARTTLS
    RetryCount=1
    FromName=Account Name
    [email protected]
    MailEncoding=utf8
    IsHTML=yes

    How did you encrypt the password? There's some help in the manual, but I'm not sure what kind of encryption Office365 uses.

    Are these the right settings or is something missing? When i try to send a email i get DRIVER ERROR

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      Try issuing

      debug nc 8
      debug ncd.* 8
      

      in Tools->Server Debug Console. Then try to send another email and show what you have in your server log (/var/log/netxmsd on Linux)

      1 Reply Last reply
      0
      • R
        R
        ruidias
        wrote on last edited by
        #3

        2024.04.03 08:38:18.202 *D* [ncd.smtp          ] Call to curl_easy_perform("smtp://smtp.office365.com:587") failed (67: Login denied)
        2024.04.03 08:38:18.202 *D* [nc                ] Driver error for channel "SMTP HTML OFFICE365", message dropped

        I try the password as plain text and encrypted with nxencpasswd ..

        1 Reply Last reply
        0
        • F
          F
          Filipp Sudanov
          wrote on last edited by
          #4

          The password should normally work unencrypted. The only exception is when the password itself is base-64 encoded and has specific length (44 or 88 characters) - in this case NetXMS will think that it's something encripted by nxencpasswd - in this case the workaround is to actually encrypt it with nxencpasswd.
          Also, double-check the "Login" field.

          1 Reply Last reply
          0
          • M
            M
            MarcusH
            wrote on last edited by
            #5

            To send mail with authenticated SMTP with 365 user the account has to have that function enabled.
            Since it is big security issue for bigger organisations that function is most likely disabled.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups