|
|
@@ -118,6 +118,10 @@ public class NetpathyMailSender {
|
|
|
public void send(Integer mailtSq, String toAddress, GagaMap replaceInfo, String custId) {
|
|
|
// 메일템플릿 조회
|
|
|
MailTemplate mailTemplate = this.getMailTemplate(mailtSq, replaceInfo);
|
|
|
+ StringBuilder contentBuilder = new StringBuilder();
|
|
|
+ contentBuilder.append(mailTemplate.getMailhContent());
|
|
|
+ contentBuilder.append(mailTemplate.getMailContent());
|
|
|
+ contentBuilder.append(mailTemplate.getMailfContent());
|
|
|
|
|
|
Netpathy netpathy = new Netpathy();
|
|
|
netpathy.setLegacyid(custId);
|
|
|
@@ -125,7 +129,7 @@ public class NetpathyMailSender {
|
|
|
netpathy.setEmail(toAddress);
|
|
|
// netpathy.setName(name);
|
|
|
netpathy.setTitle(mailTemplate.getMailtNm());
|
|
|
- netpathy.setContent(mailTemplate.getMailContent());
|
|
|
+ netpathy.setContent(contentBuilder.toString());
|
|
|
|
|
|
// 메일 생성
|
|
|
netpathyDao.createMail(netpathy);
|