Email

The Email sub-menu option is used to configure the system’s incoming and outgoing email settings.
 

 

Note: The MS MODERN AUTH and OAuth base authorization is available only from ZENworks Service Desk 8.3.1.

 

The system uses email to notify Customers about:

 

Emails notify Service Desk Users of:

 

For detailed information regarding managing requests using email polling see Email Polling and Request Creation in the Appendices of this guide.

 

Server Tab

To enter email server details:

  1. Select Setup >Email > Server

    email_server.png

  1. Enter the Receiving and Sending Details:
     

    Receiving

    Incoming Server

    The incoming server used by the system to receive emails.

    Protocol

    The protocol of the incoming email account IMAP, IMAPS, POP3, POP3S and IMAPS with Microsoft Modern Auth.
    OAuth based authentication is available for IMAPS and POP3S
    When you select the secured protocol such as IMAPS, POP3S or MS MODERN AUTH, a certificate icon will be displayed, click the icon to view the certificate of the server.

    For more information on Microsoft Modern Auth, see Microsoft Modern Authentication.

    For more information on OAuth based authentication, see OAuth based authentication.

    Transport

    This option is visible if IMAP or POP3 has been set for the email account protocol. Select to secure the transport layer to encrypt the whole channel, if relevant to your email server configuration.

    Port

    Can be left blank for the default, or enter a port.

    User Name

    Enter User Name for the incoming mail server.

    Password

    Enter the account Password.

    Sending

    Reply To

    The default system email address and the account that the email polling feature uses.

    Outgoing Server

    The outgoing (or SMTP) server used by the system to send emails.
    When you select the authentication as SSL, TLS (SSL), MS Modern Auth or OAuth, a certificate icon will be displayed, click the icon to view the certificate.

    Authentication

    If your SMTP server requires sender identification before sending email select between Login, SSL, TLS, MS Modern Auth, or OAuth depending on the server configuration. Additional fields might be displayed based on the selected authentication method.

    For more information on Microsoft Modern Auth, see Microsoft Modern Authentication.

    For more information on OAuth based authentication, see OAuth based authentication.

    Port

    Enter a different port, or leave blank to use the default.

    User Name

    When authentication is required, enter the SMTP authorization details.

    Password

    When authentication is required, enter the account password.

  1. Click Save.

Reset Button

reset.png

To delete the content in all fields within the Server tab, select the Reset button. The system will display a message requiring verification of the Reset selection. Click OK to verify and clear all fields.

 

Test Button
test.png

To test if the email configuration is correct for sending email, click Test. This will send a message to the Administrator, using the Outgoing Server details that have been provided.

 

 

Microsoft Modern Auth

Microsoft Modern Auth uses IMAPS for incoming and SMTP for sending emails.

Following are the server settings for default Microsoft Office 365 configuration:

Prerequisites:

  1. Register ZENworks Service Desk as an application with the Azure Active directory.

    For more information, see Registering an Application or any documentation provided by the service provider.

  2. Obtain OAuth parameters (Tenant Id, Client Id) from the Azure for the registered ZSD application.

  3. In the Azure portal, open the registered application, go to Authentication, and ensure that you set Allow public client flows to Yes.

  4. Ensure that the email address configured can access ‎Microsoft 365‎ email using IMAP and Authenticated SMTP.

  5. Ensure that the email address configured does not have multi-factor authentication enabled.

Note: If multi-factor authentication cannot be disabled or you do not want to use public client flows, then you can use OAuth Based Authentication. The OAuth Based Authentication works with O365 Modern Authentication.

email_server_ms.png

 

 

OAuth Based Authentication

This option is available for IMAPS and POP3S for receiving emails and SMTP for sending emails.

Prerequisites:

  1. Register ZENworks Service Desk as an application with the respective email provider.

    For more information, see any documentation provided by the service provider.

    Note:
    1. While registering the application, use the following URLs as the redirect URI of type Web, Web Server, or Web Application:

      • https://<FQDN>/Live Time/WebObjects/LiveTime.woa/wa/oauthlanding

    2. Ensure that you add redirect URIs of all the public interfaces (IP or domain name) of ZENworks Service Desk.

  2. Obtain OAuth parameters (Client ID, Client Secret, OAuth Scope, Auth URL, Token URL).

  3. Ensure that the email address configured can access email using IMAP/POP3 and SMTP.

email_server_imaps.png

 

After specifying all the details, click Get Token. You will be redirected to the provider UI for authentication. After successful authentication, you will be redirected back to ZSD portal, where generated tokens will be displayed. Copy the respective tokens to the email configuration page, save the changes and then test the connection.

Note: If tokens are expired, then ZSD will automatically try to regenerate the token. If the regeneration of token fails, an alert will be displayed to the administrator to check the configuration and regenerate the tokens using the above steps again.

 

 

Following are the default settings for Microsoft Office 365 and Gmail:

Note: Ensure that you verify these settings with respective service provider.

O365

  1. Auth URL: https://login.microsoftonline.com/<your_tenant_id>/oauth2/v2.0/authorize?prompt=consent

  2. Token URL: https://login.microsoftonline.com/<your_tenant_id>/oauth2/v2.0/token

  3. Scopes:

    1. Sender (SMTP): https://outlook.office.com/SMTP.Send offline_access

    2. Receiver (IMAPS): https://outlook.office.com/IMAP.AccessAsUser.All offline_access

    3. Receiver (POP3S): https://outlook.office.com/POP.AccessAsUser.All offline_access

Gmail

  1. Auth URL: https://accounts.google.com/o/oauth2/v2/auth?prompt=consent&access_type=offline

  2. Token URL: https://oauth2.googleapis.com/token

  3. Scopes:

    1. Sender (SMTP): https://mail.google.com/

    2. Receiver (IMAPS/ POP3S): https://mail.google.com/