Feature Wiki

Information about planned and released features

Tabs

No mails for expired accounts

1 Initial Problem

The current implementation or the current business rules of the Mail component do not ensure that mails sent to accounts that have expired are not sent at all or at least not sent externally.

See the following business rules (see here)

An account is considered to be able to read internal messages, if the TermsOfService are accepted (if enabled) and the account is not expired (see: usr_data.time_limit_unlimited, usr_data.time_limit_from, usr_data.time_limit_until).

  • If a mail is sent as a system mail and an account can't read internal messages, it will be completely skipped when processing recipients.
  • If a recipient account is not active, the mail will be only sent internally.
  • If a recipient account is active, and it can't read internal mails or it wants to receive emails externally, the message will be sent as an external email. If an account is configured to receive external emails only, no internal message will be sent.

A specific problem is described here, for example: Mantis #43661.

2 Conceptual Summary

The target is that accounts that no longer have access to ILIAS due to the time limit no longer receive any mails externally.

We would therefore like to change the business rules as follows:

An account is considered to be able to read internal messages, if the LegalDocuments (Terms of Service and Declaration of Data Protection) are accepted (if enabled) and the account is not expired (see: usr_data.time_limit_unlimited, usr_data.time_limit_from, usr_data.time_limit_until).

  • If a mail is sent as a system mail and an account can't read internal messages, it will be completely skipped when processing recipients.
  • If a recipient account is not active, the mail will be only sent internally.
  • If a recipient account is expired, the mail will be only sent internally.
  • If a recipient account is active, and it can't read internal mails or it wants to receive emails externally, the message will be sent as an external email. If an account is configured to receive external emails only, no internal message will be sent.

3 User Interface Modifications

3.1 List of Affected Views

None.

3.2 User Interface Details

None.

3.3 New User Interface Concepts

None.

3.4 Accessibility Implications

None.

4 Additional Information

4.1 Involved Authorities

4.2 Technical Aspects

See above – Chapter 2.

4.3 Privacy

No information that may no longer be intended for the person can still reach them.

4.4 Security

No information that may no longer be intended for the person can still reach them.

4.5 Contact

Person to be contacted in case of questions about the feature or for funding offers: Samoila, Oliver [oliver.samoila] 

4.6 Funding

Funded by Steuer-Fachschule Dr. Endriss

5 Discussion

JourFixe, ILIAS [jourfixe], 17 MAR 2025: We highly appreciate this suggestion and accept the feature for ILIAS 11.

6 Implementation

Implemented as derscribed above.

6.1 Description and Screenshots

The implementation did not result in any user interface changes. All changes affect the delivery process of "mails" and the documentation of business rules like shown here: https://github.com/ILIAS-eLearning/ILIAS/pull/9660/files

6.2 Test Cases

Test cases completed at {date} by {user}

  • {Test case number linked to Testrail} : {test case title}

6.3 Privacy

Information in privacy.md of component: no change required

6.4 Approval

Approved at 2025-08-20 by Zenzen, Enrico [ezenzen].

Last edited: 22. Aug 2025, 13:30, Samoila, Oliver [oliver.samoila]