Created
July 16, 2014 14:05
-
-
Save waifung0207/68638a1bf57915b15d7c to your computer and use it in GitHub Desktop.
CodeIgniter email config file (Gmail)
This file contains 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/* | |
| ------------------------------------------------------------------- | |
| EMAIL CONFING | |
| ------------------------------------------------------------------- | |
| Configuration of outgoing mail server. | |
| */ | |
$config['protocol'] = 'smtp'; | |
$config['smtp_host'] = 'ssl://smtp.googlemail.com'; | |
$config['smtp_port'] = '465'; | |
$config['smtp_timeout'] = '30'; | |
$config['smtp_user'] = 'someone@gmail.com'; | |
$config['smtp_pass'] = 'password'; | |
$config['charset'] = 'utf-8'; | |
$config['mailtype'] = 'html'; | |
$config['wordwrap'] = TRUE; | |
$config['newline'] = "\r\n"; | |
/* End of file email.php */ | |
/* Location: ./system/application/config/email.php */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment