<?php
// ============================================================
// Mail transport configuration
// ============================================================

if (!defined('APP_URL')) {
    define('APP_URL', 'http://localhost');
}

if (!defined('APP_NAME')) {
    define('APP_NAME', 'Best Western HR');
}

define('MAIL_DRIVER', 'php_mail'); // 'php_mail' | 'smtp'
define('SMTP_PROFILE', 'mailtrap'); // 'mailtrap' | 'production'

// ---- OPTION A: Mailtrap ----
define('MAILTRAP_HOST', 'live.smtp.mailtrap.io'); // Or 'sandbox.smtp.mailtrap.io' for sandbox
define('MAILTRAP_PORT', 2525);
define('MAILTRAP_USERNAME', 'smtp@mailtrap.io');
define('MAILTRAP_PASSWORD', 'dc4864a002b904bfde84fee56f41107b');
define('MAILTRAP_ENCRYPTION', 'tls');

// ---- OPTION B: Production Server ----
define('SMTP_HOST', 'mail.bestwesternplusyenagoa.com');
define('SMTP_PORT', 587);
define('SMTP_USERNAME', 'noreply@bestwesternplusyenagoa.com');
define('SMTP_PASSWORD', 'CHANGE_ME');
define('SMTP_ENCRYPTION', 'tls');

// Default Sender Credentials
define('MAIL_FROM_ADDRESS', 'no-reply@yenagoahotel.com');
define('MAIL_FROM_NAME', 'Best Western HR Engine');