-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9afe994
commit c78a2d2
Showing
37 changed files
with
357 additions
and
556 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
$config['protocol'] = IS_WINDOWS_OS ? 'smtp' : 'mail'; // 'mail', 'sendmail', or 'smtp' | ||
$config['mailpath'] = '/usr/sbin/sendmail'; | ||
$config['smtp_host'] = 'localhost'; | ||
$config['smtp_auth'] = null; // Whether to use SMTP authentication, boolean TRUE/FALSE. If this option is omited or if it is NULL, then SMTP authentication is used when both $config['smtp_user'] and $config['smtp_pass'] are non-empty strings. | ||
$config['smtp_user'] = ''; | ||
$config['smtp_pass'] = ''; | ||
$config['smtp_port'] = 25; | ||
|
@@ -25,6 +26,20 @@ | |
$config['bcc_batch_size'] = 200; | ||
$config['encoding'] = '8bit'; // The body encoding. For CodeIgniter: '8bit' or '7bit'. For PHPMailer: '8bit', '7bit', 'binary', 'base64', or 'quoted-printable'. | ||
|
||
// XOAUTH2 mechanism for authentication. | ||
// See https://github.com/PHPMailer/PHPMailer/wiki/Using-Gmail-with-XOAUTH2 | ||
$config['oauth_type'] = ''; // XOAUTH2 authentication mechanism: | ||
// '' - disabled; | ||
// 'xoauth2' - custom implementation; | ||
// 'xoauth2_google' - Google provider; | ||
// 'xoauth2_yahoo' - Yahoo provider; | ||
// 'xoauth2_microsoft' - Microsoft provider. | ||
$config['oauth_instance'] = null; // Initialized instance of \PHPMailer\PHPMailer\OAuth (OAuthTokenProvider interface) that contains a custom token provider. Needed for 'xoauth2' custom implementation only. | ||
$config['oauth_user_email'] = ''; // If this option is an empty string or null, $config['smtp_user'] will be used. | ||
$config['oauth_client_id'] = ''; | ||
$config['oauth_client_secret'] = ''; | ||
$config['oauth_refresh_token'] = ''; | ||
|
||
// DKIM Signing | ||
// See https://yomotherboard.com/how-to-setup-email-server-dkim-keys/ | ||
// See http://stackoverflow.com/questions/24463425/send-mail-in-phpmailer-using-dkim-keys | ||
|
@@ -43,7 +58,7 @@ | |
$config['mailpath'] = '/usr/sbin/sendmail'; | ||
$config['smtp_host'] = 'smtp.gmail.com'; | ||
$config['smtp_user'] = '[email protected]'; | ||
$config['smtp_pass'] = 'yourpassword'; | ||
$config['smtp_pass'] = ''; | ||
$config['smtp_port'] = 587; | ||
$config['smtp_timeout'] = 30; | ||
$config['smtp_crypto'] = 'tls'; | ||
|
@@ -62,4 +77,9 @@ | |
$config['bcc_batch_mode'] = false; | ||
$config['bcc_batch_size'] = 200; | ||
$config['encoding'] = '8bit'; | ||
$config['oauth_type'] = 'xoauth2_google'; | ||
$config['oauth_client_id'] = '237644427849-g8d0pnkd1jh3idcjdbopvkse2hvj0tdp.apps.googleusercontent.com'; | ||
$config['oauth_client_secret'] = 'mklHhrns6eF-qjwuiLpSB4DL'; | ||
$config['oauth_refresh_token'] = '1/7Jt8_RHX86Pk09VTfQd4O_ZqKbmuV7HpMNz-rqJ4KdQMEudVrK5jSpoR30zcRFq6'; | ||
*/ |
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
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
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
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
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
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
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
Oops, something went wrong.