Skip to content
Snippets Groups Projects
Email.php 2.09 KiB
Newer Older
  • Learn to ignore specific revisions
  • namespace Config;
    
    use CodeIgniter\Config\BaseConfig;
    
    class Email extends BaseConfig
    {
    
        public string $userAgent = 'CodeIgniter';
    
    
        /**
         * The mail sending protocol: mail, sendmail, smtp
         */
    
    
        /**
         * The server path to Sendmail.
         */
    
        public string $mailPath = '/usr/sbin/sendmail';
    
    
        /**
         * Enable persistent SMTP connections
         */
    
        public bool $SMTPKeepAlive = false;
    
    
        /**
         * SMTP Encryption. Either tls or ssl
         */
    
    
        /**
         * Type of mail, either 'text' or 'html'
         */
    
    
        /**
         * Character set (utf-8, iso-8859-1, etc.)
         */
    
    
        /**
         * Whether to validate the email address
         */
    
    
        /**
         * Email Priority. 1 = highest. 5 = lowest. 3 = normal
         */
    
    
        /**
         * Newline character. (Use “\r\n” to comply with RFC 822)
         */
    
    
        /**
         * Newline character. (Use “\r\n” to comply with RFC 822)
         */
    
    
        /**
         * Number of emails in each BCC batch
         */
    
    
        /**
         * Enable notify message from server
         */