Email notifications on each user login
LoginNotify is a Dolibarr module that automatically sends an email notification on every successful user login to your instance.
Module gallery
Screenshots, visuals and module previews.
Functional details
Read the full module presentation, use cases, prerequisites and integration notes.
Main features
English Français Italiano Deutsch Español
- Email notification on each successful login (`USER_LOGIN` event)
- Configurable recipient (one or multiple email addresses, comma‑separated)
- Flexible sending methods:
- native PHP `mail()`,
- Dolibarr email configuration,
- manual SMTP parameters (host, port, security, authentication)
- Custom sender email address
- Built‑in test email button on the setup page
- No webhook, no core modifications
Benefits
- Monitor logins on demo, test and customer instances
- Get quickly alerted in case of unexpected access
- Keep a trace of who logged in, when, from which IP and on which Dolibarr instance
Email content
Each notification email contains for example:
- user login and full name,
- date and time of the login,
- remote IP address,
- URL of the Dolibarr instance.
 Installation
1. Unzip the module archive.
2. Copy the `loginnotify` directory into your Dolibarr `htdocs/custom/` folder.
3. Log in as an administrator and go to **Home → Setup → Modules / Applications**.
4. Enable the **LoginNotify** module.
Configuration
1. Open the **LoginNotify** module setup page.
2. Enter the destination email address (one or several addresses).
3. Choose the sending method (PHP mail, Dolibarr configuration or manual SMTP).
4. Optionally, define a custom sender address and your SMTP parameters.
5. Use the test button to check that emails are correctly received.
Compatibility
- Dolibarr: 17.x to 22.x
- PHP: 7.4 to 8.3
Â
Publisher: KSI — dolibarr@serveur2ksi30.fr
Need a standalone module, a SaaS instance or a complete solution?
KSIDol can sell the module, host it inside a Dolibarr instance and extend everything with custom development, support, legal framing and email or SMS flows.