<?php

declare(strict_types=1);

/**
 * Mail / SMTP defaults.
 *
 * These are fallbacks — once installed, SMTP settings are managed in the admin
 * panel (stored in the `settings` table) and take precedence over these values.
 */

return [
    'host'         => env('MAIL_HOST', ''),
    'port'         => (int) env('MAIL_PORT', 587),
    'encryption'   => env('MAIL_ENCRYPTION', 'tls'),   // tls | ssl | none
    'username'     => env('MAIL_USERNAME', ''),
    'password'     => env('MAIL_PASSWORD', ''),
    'from_address' => env('MAIL_FROM_ADDRESS', 'no-reply@example.com'),
    'from_name'    => env('MAIL_FROM_NAME', env('APP_NAME', 'BotGuard')),
    'timeout'      => (int) env('MAIL_TIMEOUT', 15),
];
