Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
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
Muhammad Usman
PERFORMA_REPLICA
Commits
6beb5d04
Commit
6beb5d04
authored
Mar 22, 2019
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S24658500 # Client - Incoming Issues (raised by Client) #Sender for messaging
using hirers email address as reply to - temp solution
parent
8d516bbc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
MessagingEngineBatch.java
cmsWebApp/src/performa/batch/MessagingEngineBatch.java
+3
-2
system.xml
system.xml
+1
-1
No files found.
cmsWebApp/src/performa/batch/MessagingEngineBatch.java
View file @
6beb5d04
...
@@ -59,10 +59,11 @@ public class MessagingEngineBatch extends ORMBatch implements InitialisationPart
...
@@ -59,10 +59,11 @@ public class MessagingEngineBatch extends ORMBatch implements InitialisationPart
TextDataSource
mesgBodyDataSource
=
new
TextDataSource
(
StringUtils
.
fromHTML
(
messageContent
));
TextDataSource
mesgBodyDataSource
=
new
TextDataSource
(
StringUtils
.
fromHTML
(
messageContent
));
String
toEmail
=
jobApplication
.
getCandidate
().
getUser
().
getEmail
();
String
toEmail
=
jobApplication
.
getCandidate
().
getUser
().
getEmail
();
String
fromEmail
=
jobApplication
.
getJob
().
getCreatedBy
().
getUser
().
getEmail
();
String
fromEmail
=
"Matchd<help@matchd.com>"
;
String
replyToEmail
=
jobApplication
.
getJob
().
getCreatedBy
().
getUser
().
getEmail
();
SentEmail
sentEmail
=
SentEmail
.
createSentEmail
(
ot
);
SentEmail
sentEmail
=
SentEmail
.
createSentEmail
(
ot
);
emailEngine
.
sendEmail
(
new
String
[]
{
toEmail
},
fromEmail
,
scheduledEmail
.
getSubject
()
,
new
DataSource
[]{
mesgBodyDataSource
});
emailEngine
.
sendEmail
(
new
String
[]
{
toEmail
},
fromEmail
,
new
String
[]
{
replyToEmail
},
scheduledEmail
.
getSubject
()
,
new
DataSource
[]{
mesgBodyDataSource
});
LogMgr
.
log
(
MESSAGING_ENGINE_BATCH
,
LogLevel
.
PROCESSING1
,
"Email sent to : "
,
toEmail
,
" from : "
,
fromEmail
);
LogMgr
.
log
(
MESSAGING_ENGINE_BATCH
,
LogLevel
.
PROCESSING1
,
"Email sent to : "
,
toEmail
,
" from : "
,
fromEmail
);
...
...
system.xml
View file @
6beb5d04
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<SYSTEM
name=
"PerformaInvestments"
targetDir=
"C:/build/PerformaInvestments"
executor=
"testMainApp"
>
<SYSTEM
name=
"PerformaInvestments"
targetDir=
"C:/build/PerformaInvestments"
executor=
"testMainApp"
>
<WEBAPP
name=
"cmsWebApp"
relative-path=
"cmsWebApp"
deployment=
"cms"
>
<WEBAPP
name=
"cmsWebApp"
relative-path=
"cmsWebApp"
deployment=
"cms"
>
<OVERLAY
system=
"CougarCMS8.2"
subsystem=
"cmsWebApp"
pin=
"
d42856593d2d95b26ff8181d15994667b4d1d602
"
/>
<OVERLAY
system=
"CougarCMS8.2"
subsystem=
"cmsWebApp"
pin=
"
c52c4159bf7a1a1f38b983dd073923508e2ba111
"
/>
</WEBAPP>
</WEBAPP>
<PARAMETER
name=
"key.file"
/>
<PARAMETER
name=
"key.file"
/>
...
...
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