Commit 6beb5d04 by Nilu

S24658500 # Client - Incoming Issues (raised by Client) #Sender for messaging

using hirers email address as reply to - temp solution
parent 8d516bbc
......@@ -59,10 +59,11 @@ public class MessagingEngineBatch extends ORMBatch implements InitialisationPart
TextDataSource mesgBodyDataSource = new TextDataSource(StringUtils.fromHTML(messageContent));
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);
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);
......
......@@ -4,7 +4,7 @@
<SYSTEM name="PerformaInvestments" targetDir="C:/build/PerformaInvestments" executor="testMainApp">
<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>
<PARAMETER name="key.file"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment