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

define('MAIL_FROM',      'admissions@nu.edu.sd');           // sender email
define('MAIL_FROM_NAME', ' National University - Sudan – 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@nu.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'
