Browse Source

메일 본문 폰트 변경

SH 1 month ago
parent
commit
cc97125b4a
1 changed files with 12 additions and 12 deletions
  1. 12 12
      src/main/java/sgc/portal/com/sym/mail/service/MailService.java

+ 12 - 12
src/main/java/sgc/portal/com/sym/mail/service/MailService.java

@@ -165,8 +165,8 @@ public class MailService {
 		contentBase.append("         <td><img src='"+link+"/resources/images/mail/content_r_02.gif' width='19' height='38' alt='' /></td>                                                                                                                                                                                    \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
-		contentBase.append("         <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                \n");
-		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:12px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><pre><strong>"+mailContent+"</strong></pre></td>                                                                                                                     \n");
+		contentBase.append("         <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                        \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+mailContent+"</strong></td>          \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                                                            \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
@@ -547,7 +547,7 @@ public class MailService {
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
 		contentBase.append("          <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                \n");
-		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:15px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><pre><strong>"+contents+"</strong></pre></td>                                                                                                                     \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+contents+"</strong></td>          \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                                                            \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
@@ -587,7 +587,7 @@ public class MailService {
 
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
 		contentBase.append("          <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                \n");
-		contentBase.append("         <td align='left' style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:15px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><pre><strong>"+contents2+"</strong></pre></td>                                                                                                                     \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+contents2+"</strong></td>                                                                                                                     \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                                                            \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		
@@ -757,7 +757,7 @@ public class MailService {
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                \n");
-		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:12px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><strong style='font-size: 12px;'>"+mailContent+"</strong></td>                                                                                                                     \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+mailContent+"</strong></td>                                  \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                                                            \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
@@ -932,7 +932,7 @@ public class MailService {
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                \n");
-		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:12px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><pre><strong>"+mailContent+"</strong></pre></td>                                                  \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+mailContent+"</strong></td>                                  \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                                                                       \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
@@ -1103,7 +1103,7 @@ public class MailService {
 		contentBase.append("       </tr>                                                                                                                                                                                 \n");
 		contentBase.append("       <tr>                                                                                                                                                                                  \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                              \n");
-		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:15px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><pre><strong>"+dtmHStr+"</strong></pre></td> \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+dtmHStr+"</strong></td>  \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                  \n");
 		contentBase.append("       </tr>                                                                                                                                                                                              \n");
 		contentBase.append("       <tr>                                                                                                                                                                                               \n");
@@ -1634,7 +1634,7 @@ public class MailService {
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
 		contentBase.append("          <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                \n");
-		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:15px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><pre><strong>"+contents+"</strong></pre></td>                                                                                                                     \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+contents+"</strong></td>  \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                                                            \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
@@ -1664,7 +1664,7 @@ public class MailService {
 
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
 		contentBase.append("          <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                \n");
-		contentBase.append("         <td align='left' style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:15px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><pre><strong>"+contents2+"</strong></pre></td>                                                                                                                     \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+contents2+"</strong></td>                                     \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                                                            \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		
@@ -1834,7 +1834,7 @@ public class MailService {
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                \n");
-		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:12px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><pre><strong>"+mailContent+"</strong></pre></td>                                                                                                                     \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+mailContent+"</strong></td>                                     \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                                                            \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
@@ -1999,7 +1999,7 @@ public class MailService {
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                \n");
-		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:12px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><pre><strong>"+mailContent+"</strong></pre></td>                                                  \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+mailContent+"</strong></td>                                     \n");
 		contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                                                                       \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
@@ -2173,7 +2173,7 @@ public class MailService {
     	contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
     	contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
     	contentBase.append("         <td background='"+link+"/resources/images/mail/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                \n");
-    	contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; font-size:12px; color:#5274ea; font-family:맑은 고딕; line-height:20px;'><pre><strong>"+mailContent+"</strong></pre></td>                                                  \n");
+		contentBase.append("         <td  style=' background-repeat:repeat-y; padding-top:20px; padding-bottom:20px; line-height:20px;'><strong style='font-size:12px; color:#5274ea; font-family:맑은 고딕;'>"+mailContent+"</strong></td>                                     \n");
     	contentBase.append("         <td background='"+link+"/resources/images/mail/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</td>                                                                                                       \n");
     	contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
     	contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");