Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
e3e16b52
Commit
e3e16b52
authored
Apr 04, 2018
by
Simon Champion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes
parent
0173cf8b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
Email.php
qa-include/Q2A/Notifications/Email.php
+2
-0
Mailer.php
qa-include/Q2A/Notifications/Mailer.php
+1
-1
No files found.
qa-include/Q2A/Notifications/Email.php
View file @
e3e16b52
...
@@ -25,6 +25,7 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly
...
@@ -25,6 +25,7 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly
exit
;
exit
;
}
}
require_once
QA_INCLUDE_DIR
.
'vendor/PHPMailer/class.phpmailer.php'
;
require_once
QA_INCLUDE_DIR
.
'db/selects.php'
;
//required for qa_db_select_with_pending()
require_once
QA_INCLUDE_DIR
.
'db/selects.php'
;
//required for qa_db_select_with_pending()
require_once
QA_INCLUDE_DIR
.
'app/options.php'
;
//required for qa_opt()
require_once
QA_INCLUDE_DIR
.
'app/options.php'
;
//required for qa_opt()
...
@@ -121,6 +122,7 @@ class Q2A_Notifications_Email
...
@@ -121,6 +122,7 @@ class Q2A_Notifications_Email
}
}
return
$send_status
;
return
$send_status
;
}
}
return
false
;
}
}
protected
function
buildSubs
(
$subs
)
protected
function
buildSubs
(
$subs
)
...
...
qa-include/Q2A/Notifications/Mailer.php
View file @
e3e16b52
...
@@ -30,7 +30,7 @@ class Q2A_Notifications_Mailer extends PHPMailer
...
@@ -30,7 +30,7 @@ class Q2A_Notifications_Mailer extends PHPMailer
{
{
public
function
__construct
(
$params
=
array
())
public
function
__construct
(
$params
=
array
())
{
{
parent
::
construct
();
parent
::
__
construct
();
$this
->
CharSet
=
'utf-8'
;
$this
->
CharSet
=
'utf-8'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment