# Contracts Expired Service

**URL:** <https://www.dolibarr.org/forum/t/contracts-expired-service/23965>\
**Category:** Talk between Dolibarrians\
**Created:** [July 9, 2023, 6:25pm UTC](https://www.dolibarr.org/forum/t/contracts-expired-service/23965 "2023-07-09T18:25:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcEnGin](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/m/838e76/32.png) [@mcEnGin](https://www.dolibarr.org/forum/u/mcEnGin)\
**Post date:** [July 9, 2023, 6:25pm UTC](https://www.dolibarr.org/forum/t/contracts-expired-service/23965/1 "2023-07-09T18:25:59Z")

</div>

Hello,

Dolibarr is using version 17.0.2. Settings–emails I have set SMTP settings. I can receive emails about events. Settings-alerts-Expired service I set it to -15. My question is, I am creating a contract. It appears in the system when there are 15 days until the contract period. But I can’t get this information as automatic mail. How can I enable sending mail 15 days before the end of the contract period? I searched the forum but couldn’t find it. Please help me.
