<?php

namespace Config;

use CodeIgniter\Config\BaseConfig;

class Email extends BaseConfig
{
    public string $fromEmail = 'dimanacro@gmail.com';
    public string $fromName  = 'PPDB Sekolah';

    public string $protocol  = 'smtp';

    public string $SMTPHost  = 'smtp.gmail.com';
    public string $SMTPUser  = 'dimanacro@gmail.com';
    public string $SMTPPass  = 'edon lgne bwtf wgee'; // ⛔ BUKAN password Gmail
    public int    $SMTPPort  = 587;
    public string $SMTPCrypto = 'tls';

    public string $mailType = 'html';
    public string $charset  = 'UTF-8';
    public string $newline  = "\r\n";
    public string $CRLF     = "\r\n";

    public bool   $SMTPKeepAlive = true;
    public int    $SMTPTimeout   = 30;
}
