|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?php
-
- namespace Config;
-
- use CodeIgniter\Config\BaseConfig;
-
- class Email extends BaseConfig
- {
- /**
- * @var string
- */
- public $fromEmail = 'admin@mail.com';
-
- /**
- * @var string
- */
- public $fromName = 'Admin';
-
- /**
- * @var string
- */
- public $recipients;
-
- /**
- * The "user agent"
- *
- * @var string
- */
- public $userAgent = 'CodeIgniter';
-
- /**
- * The mail sending protocol: mail, sendmail, smtp
- *
- * @var string
- */
- public $protocol = 'smtp';
-
- /**
- * The server path to Sendmail.
- *
- * @var string
- */
- public $mailPath = '/usr/sbin/sendmail';
-
- /**
- * SMTP Server Address
- *
- * @var string
- */
- public $SMTPHost = 'smtp.mailtrap.io';
-
-
- /**
- * SMTP Username
- *
- * @var string
- */
- public $SMTPUser = 'c504e92b75d96e';
-
-
- /**
- * SMTP Password
- *
- * @var string
- */
- public $SMTPPass = '4f1c9858aef3fb';
-
- /**
- * SMTP Port
- *
- * @var int
- */
- public $SMTPPort = 587;
-
- /**
- * SMTP Timeout (in seconds)
- *
- * @var int
- */
- public $SMTPTimeout = 20;
-
- /**
- * Enable persistent SMTP connections
- *
- * @var bool
- */
- public $SMTPKeepAlive = false;
-
- /**
- * SMTP Encryption. Either tls or ssl
- *
- * @var string
- */
- public $SMTPCrypto = 'tls';
-
- /**
- * Enable word-wrap
- *
- * @var bool
- */
- public $wordWrap = true;
-
- /**
- * Character count to wrap at
- *
- * @var int
- */
- public $wrapChars = 76;
-
- /**
- * Type of mail, either 'text' or 'html'
- *
- * @var string
- */
- public $mailType = 'html';
-
- /**
- * Character set (utf-8, iso-8859-1, etc.)
- *
- * @var string
- */
- public $charset = 'UTF-8';
-
- /**
- * Whether to validate the email address
- *
- * @var bool
- */
- public $validate = false;
-
- /**
- * Email Priority. 1 = highest. 5 = lowest. 3 = normal
- *
- * @var int
- */
- public $priority = 3;
-
- /**
- * Newline character. (Use “\r\n” to comply with RFC 822)
- *
- * @var string
- */
- public $CRLF = "\r\n";
-
- /**
- * Newline character. (Use “\r\n” to comply with RFC 822)
- *
- * @var string
- */
- public $newline = "\r\n";
-
- /**
- * Enable BCC Batch Mode.
- *
- * @var bool
- */
- public $BCCBatchMode = false;
-
- /**
- * Number of emails in each BCC batch
- *
- * @var int
- */
- public $BCCBatchSize = 200;
-
- /**
- * Enable notify message from server
- *
- * @var bool
- */
- public $DSN = false;
- }
|