How to Configure Email and SMS Notifications in DHIS2 (v2.41) on a Local Instance

Hello DHIS2 Community,

I have successfully set up Program Notifications following the Trainer’s Guide in my local DHIS2 instance (v2.41). Now, I want to configure Email and SMS notifications to send alerts based on program events.

I would like to know:

  1. How can I configure email notifications in a local DHIS2 instance?
  2. Is it possible to send SMS notifications without an internet-based SMS gateway?
  3. What are the best practices for configuring email/SMS for program notifications?

What I Have Tried So Far:

  • I went to System Settings > Email Configuration, but I am unsure which SMTP settings to use for a local setup.
  • I checked System Settings > SMS Configuration, but I need guidance on setting up an SMS gateway.
  • I have configured program notifications but haven’t been able to test them due to missing email/SMS settings.

My Setup:

  • DHIS2 Version: 2.41
  • Deployment: Local instance on Ubuntu
  • SMTP Server: (Not configured yet - seeking suggestions)
  • SMS Gateway: (Looking for offline/alternative options)

Questions:

  1. What SMTP settings should I use for email notifications in a local instance?
  2. Are there any recommended SMS gateways that work well with DHIS2?
  3. Can I send SMS notifications without an internet-based provider, such as using a GSM modem?

Any guidance or step-by-step instructions would be greatly appreciated. Thank you!

Hi @SanghArsha_PyakuRel
For email setup, you can configure it either on your local machine or use an external SMTP server. You can refer to the documentation here:
DHIS2 Email and SMS Notifications Settings

For SMS, the only non-HTTP gateway that DHIS2 supports is SMPP. If your local GSM modem supports SMPP, it can be used. More details can be found here:
DHIS2 SMS Gateway Configuration

Let me know if you need any further assistance.

Zubair