Email server setup - Alerts and Notifications

In the TARGIT Management client, in Setup and Alerts and Notifications, you can configure an email server to be used by the TARGIT server.

This setting is a crucial setting in a TARGIT solution as the email server is required for everything related to sending mails from the TARGIT server, e.g.,:

  • Mails sent from Scheduled jobs, e.g., automated reports sent out weekly.
  • Mails sent to selected users if a scheduled job should fail.
  • Mails sent to Administrators about critical errors and alerts on the TARGIT server.

The email server needs to be an existing email server - typically the email server that is already used within the organization.

In the setup options, you should first select the type of protocol to be used:

SMTP

  • This protocol will work for most email servers. However, it is a protocol that has been in use for many years, and may be about to be deprecated by various email server types. From September 2025, the Exchange Online server will no longer support SMTP authentication.
  • Server: The address of your email server, e.g., smtpserver.company.com.
  • Username and Password: Assign a user (email address) and password of a user that is capable of sending emails from this server. This could be an existing user or a user created specifically for this purpose.
  • From Address: Optional. Enter an email address that the server generated mails should use as sender. The email address must be a valid email address on your email server. If left blank, the mail sender address will be a generic address, like antserver@company.com.

Sample setup for SMTP:

MS Graph

Available from version 2025.05.21 (Cloud) and from version 2025 June (On-prem).

  • This protocol is using MS Graph API to authenticate and communicate with your email server. This method is recommended if your email server is located in the cloud and it supports MS Graph API. E.g., the Exchange Online server should be set up with the MS Graph protocol.
  • Tenant ID, Application (client) ID and Client Secret: These IDs are obtained from the configuration of the MS Graph application in your cloud environment. See this guide: Setting up MS Graph API authentication for Exchange Online
  • Username Assign a user (email address) of a user that is capable of sending emails from this server. This could be an existing user or a user created specifically for this purpose.
  • From Address: Optional. Enter an email address that the server generated mails should use as sender. The email address must be a valid email address on your email server. If left blank, the mail sender address will be a generic address, like antserver@company.com.

Sample setup for MS Graph:

TARGIT Cloud

Available from version 2025.05.21 (Cloud).

  • This option is available only to TARGIT Cloud customers.
  • Use this option as an easy solution for sending emails from your TARGIT environment. With this option, you do not need to install or configure your own internal or external email server.
  • This is a cloud-based email service, provided by TARGIT for TARGIT Cloud customers.
  • No further configuration is required when selecting this option.

Sample setup for TARGIT Cloud:

Administrative Alerts

You can apply an Administrator's email address that should receive administrative alerts from the TARGIT server.

Depending on the Notification Level, the administrator will receive from Critical (few) emails to Information (many) emails.

See this article for further info on Administrative Alerts: Administrative alerts

Was this article helpful?
0 out of 0 found this helpful

Comments

5 comments
  • Hi Ole and team,

    Is the TARGIT Graph API implementation configured with SaveToSentItems = true?

    We recently changed our alerts and notifications from SMTP to Graph API. The emails are being sent successfully, but they no longer appear in Sent Items (they did when using SMTP).

    Emails also appear in sent items, when we use graph API with the same email for other purposes. 

    Best regards,

    Morten

     

    0
  • Hi Morten,

    I got a reply from my technically skilled friends:

    "That is correct. SaveToSentItems is set to false when we send through the GRAPH API."

    BR / Ole

    1
  • Hi Ole,

    Thanks for the clarification. I wanted to be sure I hadn’t overlooked a setting.

    Being able to track outgoing emails would be helpful for us. If there are reasons why SaveToSentItems cannot be the default behavior, it would be useful to have the option to enable it as a toggle in the Alerts and Notification settings in TARGIT Management.

    Best regards,
    Morten

    0
  • Hi Morten,

    I've created a Feature Request for you on this topic.

    BR / Ole

    1
  • Thanks Ole! :)

    0

Please sign in to leave a comment.