<?php

namespace Config;

use CodeIgniter\Config\BaseConfig;

class Email extends BaseConfig
{
    // Dibaca dari .env agar kredensial tidak tersimpan di source code.
    public string $protocol   = 'smtp';
    public string $SMTPHost   = '';
    public string $SMTPUser   = '';
    public string $SMTPPass   = '';
    public int    $SMTPPort   = 587;
    public string $SMTPCrypto = 'tls';

public string $mailType   = 'text';

public string $charset    = 'UTF-8';

public bool   $validate   = false;

public string $CRLF       = "\r\n";
public string $newline    = "\r\n";
public bool $SMTPKeepAlive = true;
public int    $SMTPTimeout = 60;
}