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.
mysqliopenssl β required for SMTP (SSL/TLS)sockets β required for SMTP communicationimap β required for fetching emailsmbstringjsonsessiondateMyJustDial uses PHPMailer to send emails via SMTP. No separate PHP extension is needed β PHPMailer works with standard PHP functions.
openssl β encrypts the connection (SSL/TLS)sockets β low-level network communicationmbstring β handles UTF-8 encoding in email subjects/bodiessmtp.gmail.com465 (SSL) or 587 (TLS)ssl for port 465, tls for port 587| Provider | SMTP Host | Port | Encryption |
|---|---|---|---|
| Gmail | smtp.gmail.com | 465 | ssl |
| Gmail (alternative) | smtp.gmail.com | 587 | tls |
| Outlook/Hotmail | smtp-mail.outlook.com | 587 | tls |
| Yahoo | smtp.mail.yahoo.com | 465 | ssl |
| cPanel (shared hosting) | mail.yourdomain.com | 465 | ssl |
After configuring SMTP, use the Email Test page to send a test email. If it succeeds, your SMTP is working correctly.
Download from Apache Friends and install with default options (e.g., C:\xampp).
extension=imap
extension=mysqli
extension=openssl
extension=sockets
extension=mbstring
http://localhost/phpmyadminmyjustdial) β choose utf8mb4_general_ci β CreateUnzip the downloaded package into: C:\xampp\htdocs\myjustdial
Open browser β http://localhost/myjustdial/install.php
Follow the wizard:
localhost, database name, user: root, password: empty)After completion, delete install.php from the folder for security.
Go to http://localhost/myjustdial/index.php with your admin credentials.
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.
sudo phpenmod mysqli imap mbstring openssl sockets
sudo systemctl restart apache2
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;
sudo cp -r myjustdial /var/www/html/
sudo chown -R www-data:www-data /var/www/html/myjustdial
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
Access http://your-server-ip/myjustdial/index.php with your admin credentials.
Go to Apache Friends and download the XAMPP for Linux version (PHP 8.2 or 8.3).
chmod +x xampp-linux-*-installer.run
sudo ./xampp-linux-*-installer.run
A graphical installer will guide you β install to the default location /opt/lampp.
Use the GUI manager:
sudo /opt/lampp/manager-linux-x64.run
Or from the command line:
sudo /opt/lampp/lampp start
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.
Open browser β http://localhost/phpmyadmin β Click New β enter database name β choose utf8mb4_general_ci β Create.
sudo cp -r myjustdial /opt/lampp/htdocs/
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
Go to http://localhost/myjustdial/index.php with your admin credentials.
Log in as admin β Go to Email Test from the menu. If you see Connected successfully!, the IMAP extension is working.
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.
To fetch new emails every 5 minutes, add a cron job:
*/5 * * * * php /var/www/html/myjustdial/triage.php?ajax_fetch=1*/5 * * * * /opt/lampp/bin/php /opt/lampp/htdocs/myjustdial/triage.php?ajax_fetch=1"C:\xampp\php\php.exe" -f "C:\xampp\htdocs\myjustdial\triage.php?ajax_fetch=1" every 5 minutes.activate.php).extension=imap is uncommented in php.ini and Apache restarted.php -m | grep imap β if missing, install with sudo apt install php-imap and restart Apache./opt/lampp/etc/php.ini has extension=imap uncommented and restart XAMPP.
openssl and sockets extensions are enabled.localhost or localhost:3307 if you changed the port).
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.
Β© 2025 MyJustDial. All rights reserved.
This software is proprietary. Unauthorised copying, distribution, or removal of the license validation is prohibited.