<?php
/**
 * Email Configuration
 * --------------------------------------------------------------
 * This app uses PHPMailer for SMTP email sending (quotations,
 * delivery notes, tax invoices auto-mailed to customers).
 *
 * SETUP STEPS:
 * 1. Install PHPMailer via composer:
 *      composer require phpmailer/phpmailer
 *    (If composer not available, download PHPMailer source manually
 *     into /vendor/phpmailer/ and update the require path below)
 *
 * 2. Update SMTP credentials below OR via Settings page in the app
 *    (values are stored in the `settings` table and override these
 *    defaults if present).
 *
 * 3. For Gmail: use an "App Password" (not your normal password),
 *    enable 2FA first, then generate app password from Google Account
 *    > Security > App Passwords.
 * --------------------------------------------------------------
 */

// Placeholder defaults (overridden by settings table values)
return [
    'smtp_host'       => 'smtp.gmail.com',
    'smtp_port'       => 587,
    'smtp_username'   => 'appdevelopmentsupportdesk@gmail.com',
    'smtp_password'   => 'opca mxzr qeem atca',
    'smtp_encryption' => 'tls',     // tls or ssl
    'from_email'      => 'appdevelopmentsupportdesk@gmail.com',
    'from_name'       => 'ABC Monsters',
];
