Email server
  • 22 Sep 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Email server

  • Dark
    Light
  • PDF

Article Summary

1. Management of email servers

This option allows you to configure a generic outgoing email address to Constellio. This address will allow you to send emails for various document management needs, including notifications, sending documents, logs, tasks, etc. To perform this configuration, you must use a service account.

  1. Click on " Pilotage " in the navigation menu;
  2. Click on " Configure the email server".

Here is the "Configuring the email sending server" window:

  1. Check the " Enabled " box;
  2. Enter the username to authenticate yourself on the email server;
  3. Enter the default sending email for the reply address;
  4. Enter a password to authenticate yourself on the email server;
  5. Enter server properties.

MetadataDescription
ActivatedThis metadata activates the email sending server.
UsernameAllows you to enter the user's name to connect to the email server.
Default sending emailAllows you to choose the main email through which Constellio's emails will be sent.
PasswordAllows you to enter a password to authenticate to the email server.
S/MIME encryption certificateInsert the encryption certificate.
Certificate passwordAllows you to enter the password for the certificate.
Server properties (separated by line breaks)Allows you to set server properties.
Email to test the configurationAllows you to insert the email of your choice to test the email server. A test email can be sent to this address.

1.1 Sending email

The email server sends a message when: 

-Error generating an Office 365 downgrade list (GAC);
-Tasks deleted;
-Modified task status;
-Person assigned to the modified task;
-New task collaborator;
-New person who follows the task;
-A new task is assigned to you;
-Modified sub-task;
-Task completed;
-Task reminder;
-Loan reminder;
-Alert when the document is available;
-Request for approval of a decommissioning list;
-Application for approval accepted;
-Application for approval rejected
-Request for validation of a decommissioning list;
-Validation request accepted;
-Decommissioning list created;
-Folder/Borrowed container;
-Folder/Container returned;
-Folder/Container reactivated;
-Request for loan extension;
-Loan application accepted;
-Return request accepted;
-Reactivation request accepted;
-Loan extension request accepted;
-Loan application refused;
-Return request refused;
-Reactivation request refused;
-Loan period ended;
-Processing of the decommissioning list completed;
-Request for signature;
-Signature failed;
-Import completed (O365);
-Notification available (Update available, new license);
-Folder/document sharing;
-Password changed;
-Connection with a new IP address;
-Suspicious/high number of logins;
-Notification: Modification of a file;
-Notification: Deletion of a folder;
-Notification: Subfolder added;
-Notification: Modified subfolder;
-Notification: Subfolder deleted.


1.2 Examples

Here's a functional example based on Gmail

You will need to change the property values in order to use your email server.

mail.smtp.host=smtp.gmail.com

mail.smtp.socketFactory.port=465

mail.smtp.socketFactory.class=javax.net.ssl. SSLSocketFactory         **Optional, if SSL

mail.smtp.auth=true

mail.smtp.port=465

 

Here's another office 365-based example :

mail.smtp.socketFactory.port=587

mail.smtp.host=smtp.office365.com

mail.smtp.port=587

mail.smtp.auth=true

mail.smtp.starttls.enable=true

mail.smtp.starttls.required=true

The full list of properties is available here: https://javamail.java.net/nonav/docs/api/com/sun/mail/smtp/package-summary.html





Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.