<?php

namespace Config;

use CodeIgniter\Config\BaseConfig;

class Email extends BaseConfig
{
    public string $protocol     = 'smtp';
    public string $SMTPHost     = 'smtp.gmail.com';
    public string $SMTPUser     = 'alrahma.sunday.school@gmail.com';
    public string $SMTPPass     = 'psnp emdq dykw ypul'; // Consider using ENV()
    public int    $SMTPPort     = 465;
    public string $SMTPCrypto   = 'ssl';           // ✅ Correct for port 465

    public bool   $SMTPAuth     = true;
    public int    $SMTPTimeout  = 5;
    public bool   $SMTPKeepAlive = true;

    public string $charset      = 'UTF-8';
    public string $mailType     = 'html';
    public bool   $wordWrap     = true;

    public string $newline      = "\r\n";
    public string $CRLF         = "\r\n";
}