MyJustDial – Professional Helpdesk Solution

MyJustDial is a complete helpdesk and ticketing system that automatically fetches emails from multiple inboxes, converts them to tickets, tracks time, manages clients, and generates invoices.


πŸ“‹ System Requirements (All Platforms)

  • PHP 7.4 – 8.4
  • MySQL / MariaDB (5.7+ / 10.2+)
  • Web Server: Apache (recommended) or Nginx
  • PHP Extensions (must be enabled):
    • mysqli
    • openssl – required for SMTP (SSL/TLS)
    • sockets – required for SMTP communication
    • imap – required for fetching emails
    • mbstring
    • json
    • session
    • date
Without the IMAP extension, the application cannot fetch emails. Without openssl and sockets, SMTP sending will fail.

βœ‰οΈ SMTP Configuration (Sending Emails)

MyJustDial uses PHPMailer to send emails via SMTP. No separate PHP extension is needed – PHPMailer works with standard PHP functions.

Required PHP Extensions for SMTP

  • openssl – encrypts the connection (SSL/TLS)
  • sockets – low-level network communication
  • mbstring – handles UTF-8 encoding in email subjects/bodies

Enabling SMTP in MyJustDial

  1. Log in as Admin β†’ Go to Email Settings.
  2. Edit or add an email account.
  3. In the SMTP (Outgoing) tab, fill in:
    • SMTP Host – e.g., smtp.gmail.com
    • SMTP Port – 465 (SSL) or 587 (TLS)
    • Encryption – ssl for port 465, tls for port 587
    • SMTP Username – full email address
    • SMTP Password – use an App Password if 2FA is enabled on Gmail
  4. Save the settings.
  5. Go to Email Test and click Send Test Email to verify.
Important: For Gmail accounts with 2‑Step Verification enabled, you must generate an App Password from your Google Account (Security β†’ App passwords) and use that 16‑character password in the SMTP Password field. Your regular Gmail password will not work.

Common SMTP Providers

ProviderSMTP HostPortEncryption
Gmailsmtp.gmail.com465ssl
Gmail (alternative)smtp.gmail.com587tls
Outlook/Hotmailsmtp-mail.outlook.com587tls
Yahoosmtp.mail.yahoo.com465ssl
cPanel (shared hosting)mail.yourdomain.com465ssl

Testing SMTP

After configuring SMTP, use the Email Test page to send a test email. If it succeeds, your SMTP is working correctly.

πŸͺŸ Windows Installation (XAMPP)

1. Install XAMPP

Download from Apache Friends and install with default options (e.g., C:\xampp).

2. Enable Required PHP Extensions

  • Open XAMPP Control Panel β†’ Stop Apache
  • Click Config next to Apache β†’ PHP (php.ini)
  • Find and uncomment (remove the semicolon) these lines:
extension=imap
extension=mysqli
extension=openssl
extension=sockets
extension=mbstring
  • Save the file and restart Apache

3. Create Database

  • Start Apache and MySQL from XAMPP Control Panel
  • Open browser β†’ http://localhost/phpmyadmin
  • Click New β†’ enter database name (e.g., myjustdial) β†’ choose utf8mb4_general_ci β†’ Create

4. Extract MyJustDial Files

Unzip the downloaded package into: C:\xampp\htdocs\myjustdial

5. Run the Installer

Open browser β†’ http://localhost/myjustdial/install.php
Follow the wizard:

  • Step 1: Database credentials (host: localhost, database name, user: root, password: empty)
  • Step 2: Import schema (automatic)
  • Step 3: Create admin account (your name, email, password)

After completion, delete install.php from the folder for security.

6. Login

Go to http://localhost/myjustdial/index.php with your admin credentials.

🐧 Linux Installation (Two Options)

Option A (Recommended for servers): Native LAMP stack (command line)

1. Install LAMP Stack & Required PHP Extensions

Open a terminal and run:

sudo apt update
sudo apt install apache2 mysql-server php php-mysqli php-imap php-mbstring php-openssl

For other distributions (CentOS/RHEL), use yum install httpd mariadb-server php php-mysqli php-imap php-mbstring php-openssl.

2. Enable PHP Modules
sudo phpenmod mysqli imap mbstring openssl sockets
sudo systemctl restart apache2
3. Create Database
sudo mysql -u root -p

Inside the MySQL prompt:

CREATE DATABASE myjustdial CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
GRANT ALL PRIVILEGES ON myjustdial.* TO 'myjustdial_user'@'localhost' IDENTIFIED BY 'your_strong_password';
FLUSH PRIVILEGES;
EXIT;
4. Upload MyJustDial Files
sudo cp -r myjustdial /var/www/html/
sudo chown -R www-data:www-data /var/www/html/myjustdial
5. Run the Installer

Open browser β†’ http://your-server-ip/myjustdial/install.php
Fill in the database details (host: localhost, database name myjustdial, user myjustdial_user, your password)
Complete the wizard and then delete install.php:

sudo rm /var/www/html/myjustdial/install.php
6. Login

Access http://your-server-ip/myjustdial/index.php with your admin credentials.

Option B (For desktop / GUI users): XAMPP for Linux

1. Download XAMPP for Linux

Go to Apache Friends and download the XAMPP for Linux version (PHP 8.2 or 8.3).

2. Install XAMPP
chmod +x xampp-linux-*-installer.run
sudo ./xampp-linux-*-installer.run

A graphical installer will guide you – install to the default location /opt/lampp.

3. Start XAMPP

Use the GUI manager:

sudo /opt/lampp/manager-linux-x64.run

Or from the command line:

sudo /opt/lampp/lampp start
4. Enable Required PHP Extensions

Edit /opt/lampp/etc/php.ini (as root):

sudo nano /opt/lampp/etc/php.ini

Find and uncomment these lines:

extension=imap
extension=mysqli
extension=openssl
extension=sockets
extension=mbstring

Save the file and restart XAMPP.

5. Create Database

Open browser β†’ http://localhost/phpmyadmin β†’ Click New β†’ enter database name β†’ choose utf8mb4_general_ci β†’ Create.

6. Extract MyJustDial Files
sudo cp -r myjustdial /opt/lampp/htdocs/
7. Run the Installer

Open browser β†’ http://localhost/myjustdial/install.php
Follow the wizard (database host: localhost, database name, user: root, password: empty).
After completion, delete install.php:

sudo rm /opt/lampp/htdocs/myjustdial/install.php
8. Login

Go to http://localhost/myjustdial/index.php with your admin credentials.

βœ… Verification & Optional Cron Setup

Test IMAP Connection

Log in as admin β†’ Go to Email Test from the menu. If you see Connected successfully!, the IMAP extension is working.

Test SMTP Sending

In the same Email Test page, click Send Test Email for any configured email account. You will receive a test message if SMTP is configured correctly.

Automatic Email Fetching (Cron Job)

To fetch new emails every 5 minutes, add a cron job:

  • On Linux (native LAMP): */5 * * * * php /var/www/html/myjustdial/triage.php?ajax_fetch=1
  • On Linux (XAMPP): */5 * * * * /opt/lampp/bin/php /opt/lampp/htdocs/myjustdial/triage.php?ajax_fetch=1
  • On Windows (Task Scheduler): Create a task running "C:\xampp\php\php.exe" -f "C:\xampp\htdocs\myjustdial\triage.php?ajax_fetch=1" every 5 minutes.
Ensure the path to PHP is correct for your environment.

πŸ” License Activation

  • The software includes a 30‑day demo period.
  • After demo expires, you will be prompted to enter a license key.
  • Purchase a license from MyJustDial and enter the key on the activation page (activate.php).
  • Activation contacts our license server once, then works offline (periodic validation).

πŸ› οΈ Troubleshooting

Windows: Check extension=imap is uncommented in php.ini and Apache restarted.
Linux (native): Run php -m | grep imap – if missing, install with sudo apt install php-imap and restart Apache.
Linux (XAMPP): Verify /opt/lampp/etc/php.ini has extension=imap uncommented and restart XAMPP.

  • Ensure openssl and sockets extensions are enabled.
  • Verify SMTP host, port, and encryption match (port 465 β†’ ssl, port 587 β†’ tls).
  • For Gmail with 2FA, use an App Password (16 characters).
  • Check if your hosting provider blocks outbound SMTP ports (try port 587 as an alternative).
  • Test with a different SMTP provider (e.g., Outlook) to isolate the issue.

Verify MySQL is running. Confirm database name, user, password, and host (use localhost or localhost:3307 if you changed the port).

Check PHP error logs: XAMPP C:\xampp\php\logs\php_error_log or /opt/lampp/logs/php_error_log; native Linux /var/log/apache2/error.log. Enable display_errors temporarily in connection.php for debugging.

Ensure you use an App Password if 2FA is enabled on your Gmail account. Enable IMAP in Gmail settings (Settings β†’ Forwarding and POP/IMAP β†’ Enable IMAP).

Wait 15–30 minutes for Gmail to unblock your server IP. Fix the password in Email Settings and test again.

πŸ“ž Support


Β© 2025 MyJustDial. All rights reserved.
This software is proprietary. Unauthorised copying, distribution, or removal of the license validation is prohibited.