<?php

declare(strict_types=1);

return [
    'host'       => $_ENV['MAIL_HOST'] ?? 'smtp.gmail.com',
    'port'       => (int) ($_ENV['MAIL_PORT'] ?? 587),
    'user'       => $_ENV['MAIL_USER'] ?? '',
    'pass'       => $_ENV['MAIL_PASS'] ?? '',
    'encryption' => $_ENV['MAIL_ENCRYPTION'] ?? 'tls',
    'from_address' => $_ENV['MAIL_FROM_ADDRESS'] ?? $_ENV['MAIL_USER'] ?? '',
    'from_name'    => $_ENV['MAIL_FROM_NAME'] ?? 'ItalvetCRM',
];
