<?php
// ====================
// Email configuration
// ====================

define('MAIL_FROM',      'admissions@uofg.edu.sd');           // sender email
define('MAIL_FROM_NAME', ' University Of Gezira – Admissions');
define('MAIL_REPLY_TO',  'admissions@ut.edu.sd');

// Use SMTP (recommended)
define('MAIL_USE_SMTP',  true);

// --- Typical cPanel/host settings ---
// Try TLS on 587 first. If it fails, switch to SSL on 465.
define('SMTP_HOST',   'mail.ut.edu.sd');
define('SMTP_PORT',   587);
define('SMTP_USER',   'admissions@uofg.edu.sd');
define('SMTP_PASS',   'KnnE+%zCIeX}3]Zg');            // <-- you can move this to an env/ini file (see note below)
define('SMTP_SECURE', 'tls');                         // 'tls' for 587, 'ssl' for 465

// Optional: send a hidden copy to an admin inbox
define('MAIL_BCC_ADMIN', ''); // e.g. 'admissions-admin@uofs.edu.sd'
