mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
Merge branch 'master' of https://github.com/cbka/easyappointments into develop
This commit is contained in:
commit
60254558a3
2 changed files with 7 additions and 1 deletions
|
@ -7,6 +7,11 @@
|
||||||
$config['useragent'] = 'Easy!Appointments';
|
$config['useragent'] = 'Easy!Appointments';
|
||||||
$config['protocol'] = 'mail'; // or 'smtp'
|
$config['protocol'] = 'mail'; // or 'smtp'
|
||||||
$config['mailtype'] = 'html'; // or 'text'
|
$config['mailtype'] = 'html'; // or 'text'
|
||||||
|
|
||||||
|
// $config['smtp_debug'] = '0'; // or '1'
|
||||||
|
// $config['smtp_auth'] = TRUE; //or FALSE for anonymous relay NOTE: DONT USE QUOTES ' !
|
||||||
|
|
||||||
|
// $config['smtp_host'] = '';
|
||||||
// $config['smtp_host'] = '';
|
// $config['smtp_host'] = '';
|
||||||
// $config['smtp_user'] = '';
|
// $config['smtp_user'] = '';
|
||||||
// $config['smtp_pass'] = '';
|
// $config['smtp_pass'] = '';
|
||||||
|
|
|
@ -315,8 +315,9 @@ class Email {
|
||||||
if ($this->config['protocol'] === 'smtp')
|
if ($this->config['protocol'] === 'smtp')
|
||||||
{
|
{
|
||||||
$mailer->isSMTP();
|
$mailer->isSMTP();
|
||||||
|
$mailer->SMTPDebug = $this->config['smtp_debug'];
|
||||||
$mailer->Host = $this->config['smtp_host'];
|
$mailer->Host = $this->config['smtp_host'];
|
||||||
$mailer->SMTPAuth = TRUE;
|
$mailer->SMTPAuth = $this->config['smtp_auth'];
|
||||||
$mailer->Username = $this->config['smtp_user'];
|
$mailer->Username = $this->config['smtp_user'];
|
||||||
$mailer->Password = $this->config['smtp_pass'];
|
$mailer->Password = $this->config['smtp_pass'];
|
||||||
$mailer->SMTPSecure = $this->config['smtp_crypto'];
|
$mailer->SMTPSecure = $this->config['smtp_crypto'];
|
||||||
|
|
Loading…
Reference in a new issue