Created
July 25, 2021 13:15
-
-
Save AaEzha/3f39b3fe040fb362a2bd29f0e64b0c02 to your computer and use it in GitHub Desktop.
CodeIgniter 4 + MailHog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // folder : app/Config | |
| // file : Email.php | |
| namespace Config; | |
| use CodeIgniter\Config\BaseConfig; | |
| class Email extends BaseConfig | |
| { | |
| // other codes | |
| public $protocol = 'smtp'; | |
| public $mailPath; | |
| public $SMTPHost = "localhost"; | |
| public $SMTPPort = 1025; | |
| public $SMTPCrypto; | |
| // other codes | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment