Browse Source

메일서비스 수정

SBK 2 years ago
parent
commit
a00ef197b7
1 changed files with 41 additions and 41 deletions
  1. 41 41
      src/main/java/sgc/portal/com/sym/mail/service/MailService.java

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

@@ -123,9 +123,9 @@ public class MailService {
 		contentBase.append(" <table width='100%' border='0' cellpadding='0' cellspacing='0'>                                                                                                                                                                                               \n");
 		contentBase.append("   <tr>                                                                                                                                                                                                                                                        \n");
 		contentBase.append("     <td height='72'>                                                                                                                                                                                                                                          \n");
-		contentBase.append("     <table width='100%' border='0' cellpadding='0' cellspacing='0' background='"+link+"/images/mail_img/top_bg.gif' style='background-repeat:repeat-x;'>                                                                                                                 \n");
+		contentBase.append("     <table width='100%' border='0' cellpadding='0' cellspacing='0' background='"+link+"/resources/images/mail/top_bg.gif' style='background-repeat:repeat-x;'>                                                                                                                 \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
-		contentBase.append("         <td height='72' align='left' valign='top'><img src='"+link+"/images/mail_img/top_logo.gif' width='187' height='72' alt=SGC이테크건설' /></td>                                                                                                                            \n");
+		contentBase.append("         <td height='72' align='left' valign='top'><img src='"+link+"/resources/images/mail/top_logo.gif' width='187' height='72' alt=SGC이테크건설' /></td>                                                                                                                            \n");
 		contentBase.append("         <td width='100%'>&nbsp;</td>                                                                                                                                                                                                                          \n");
 		contentBase.append("         <td align='right' valign='top'></td>                                                                                                                                                           \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
@@ -135,9 +135,9 @@ public class MailService {
 		contentBase.append("     <td style='padding:20px;'>                                                                                                                                                                                                                                \n");
 		contentBase.append("      <table width='100%' border='0' cellpadding='0' cellspacing='0'>                                                                                                                                                                                          \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
-		contentBase.append("         <td width='19' height='46'><img src='"+link+"/images/mail_img/content_l_01.gif' width='19' height='46' alt='' /></td>                                                                                                                                                             \n");
-//		contentBase.append("         <td width='100%' style=' background-image:url("+link+"/images/mail_img/content_c.gif); background-repeat:repeat-x; font-family:돋움; font-size:12px; color:#ffffff; text-align:left;'>                                                                                    \n");
-		contentBase.append("         <td width='100%' background='"+link+"/images/mail_img/content_c.gif' style='background-repeat:repeat-x; font-family:돋움체; font-size:12px; color:#ffffff; text-align:left;'>                                                                                    \n");
+		contentBase.append("         <td width='19' height='46'><img src='"+link+"/resources/images/mail/content_l_01.gif' width='19' height='46' alt='' /></td>                                                                                                                                                             \n");
+//		contentBase.append("         <td width='100%' style=' background-image:url("+link+"/resources/images/mail/content_c.gif); background-repeat:repeat-x; font-family:돋움; font-size:12px; color:#ffffff; text-align:left;'>                                                                                    \n");
+		contentBase.append("         <td width='100%' background='"+link+"/resources/images/mail/content_c.gif' style='background-repeat:repeat-x; font-family:돋움체; font-size:12px; color:#ffffff; text-align:left;'>                                                                                    \n");
 		contentBase.append("          <table border='0' cellpadding='0' cellspacing='0' width='100%'>                                                                                                                                                                                      \n");
 		contentBase.append("           <tr>                                                                                                                                                                                                                                                \n");
 		contentBase.append("            <td style='color:#ffffff;'>안녕하세요. <strong>"+fromDept+"  "+fromName+"</strong> 입니다.</td>                                                                                                                                                                                       \n");
@@ -145,32 +145,32 @@ public class MailService {
 		contentBase.append("           </tr>                                                                                                                                                                                                                                               \n");
 		contentBase.append("          </table>                                                                                                                                                                                                                                             \n");
 		contentBase.append("         </td>                                                                                                                                                                                                                                                 \n");
-		contentBase.append("         <td width='19'><img src='"+link+"/images/mail_img/content_r_01.gif' width='19' height='46' alt='' /></td>                                                                                                                                                                         \n");
+		contentBase.append("         <td width='19'><img src='"+link+"/resources/images/mail/content_r_01.gif' width='19' height='46' alt='' /></td>                                                                                                                                                                         \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
-		contentBase.append("         <td height='38'><img src='"+link+"/images/mail_img/content_l_02.gif' width='19' height='38' alt='' /></td>                                                                                                                                                                        \n");
+		contentBase.append("         <td height='38'><img src='"+link+"/resources/images/mail/content_l_02.gif' width='19' height='38' alt='' /></td>                                                                                                                                                                        \n");
 		contentBase.append("         <td style=' background-color:#EFEFEF; font-family:돋움체; font-size:12px; color:#5274ea; text-align:left; line-height:20px;'><strong>"+subSubject+"</strong> 관련하여 메일 보내드리오니 확인  바랍니다. </td>                        \n");
-		contentBase.append("         <td><img src='"+link+"/images/mail_img/content_r_02.gif' width='19' height='38' alt='' /></td>                                                                                                                                                                                    \n");
+		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+"/images/mail_img/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</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; font-size:12px; color:#5274ea; font-family:돋움체; line-height:20px;'><pre><strong>"+mailContent+"</string></pre></td>                                                                                                                     \n");
-		contentBase.append("         <td background='"+link+"/images/mail_img/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</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");
-		contentBase.append("         <td background='"+link+"/images/mail_img/content_l_02_new.gif' style='background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                                                      \n");
-		contentBase.append("         <td align='center' valign='middle' style='padding-top:15px; padding-bottom:15px; border-top:#CCC solid 1px;'><a href='http://ehr.sgcetec.co.kr:8082'><img src='"+link+"/images/mail_img/btn_site.gif' alt='사이트접속하기' width='145' height='28' border='0' /></a></td>                              \n");
-		contentBase.append("         <td background='"+link+"/images/mail_img/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</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 align='center' valign='middle' style='padding-top:15px; padding-bottom:15px; border-top:#CCC solid 1px;'><a href='https://portal.sgc.co.kr/websquare/'><img src='"+link+"/resources/images/mail/btn_site.gif' alt='사이트접속하기' width='145' height='28' border='0' /></a></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");
-		contentBase.append("         <td><img src='"+link+"/images/mail_img/content_l_04.gif' width='19' height='128' alt='' /></td>                                                                                                                                                                                   \n");
-		contentBase.append("         <td align='left' valign='top' background='"+link+"/images/mail_img/sign_c.gif' style='background-repeat:repeat-x; text-align:left'>                                                                                                                              \n");
+		contentBase.append("         <td><img src='"+link+"/resources/images/mail/content_l_04.gif' width='19' height='128' alt='' /></td>                                                                                                                                                                                   \n");
+		contentBase.append("         <td align='left' valign='top' background='"+link+"/resources/images/mail/sign_c.gif' style='background-repeat:repeat-x; text-align:left'>                                                                                                                              \n");
 		contentBase.append("          <table width='800' border='0' cellpadding='0' cellspacing='0'>                                                                                                                                                                                       \n");
 		contentBase.append("           <tr>                                                                                                                                                                                                                                                \n");
-		contentBase.append("             <td colspan='2'><img src='"+link+"/images/mail_img/sign_logo.gif' width='300' height='50' alt='We build your dream SGC이테크건설' /></td>                                                                                                                             \n");
+		contentBase.append("             <td colspan='2'><img src='"+link+"/resources/images/mail/sign_logo.gif' width='300' height='50' alt='We build your dream SGC이테크건설' /></td>                                                                                                                             \n");
 		contentBase.append("             </tr>                                                                                                                                                                                                                                             \n");
 		contentBase.append("           <tr>                                                                                                                                                                                                                                                \n");
-		contentBase.append("             <td width='36' height='22' align='center' valign='middle'><img src='"+link+"/images/mail_img/sign_icon.gif' width='13' height='13' alt='' /></td>                                                                                                                             \n");
+		contentBase.append("             <td width='36' height='22' align='center' valign='middle'><img src='"+link+"/resources/images/mail/sign_icon.gif' width='13' height='13' alt='' /></td>                                                                                                                             \n");
 		contentBase.append("             <td width='*' style='font-size:12px; color:#676767; font-family:돋움체; line-height:20px;'>"+fromDept+"&nbsp;&nbsp;&nbsp;"+fromDuty+"&nbsp;&nbsp;"+fromName+"</td>                                                                        \n");
 		contentBase.append("           </tr>                                                                                                                                                                                                                                               \n");
 		contentBase.append("           <tr>                                                                                                                                                                                                                                                \n");
@@ -183,12 +183,12 @@ public class MailService {
 		contentBase.append("           </tr>                                                                                                                                                                                                                                               \n");
 		contentBase.append("                                                                                                                                                                                                                                                               \n");
 		contentBase.append("         </table></td>                                                                                                                                                                                                                                         \n");
-		contentBase.append("         <td><img src='"+link+"/images/mail_img/content_r_04.gif' width='19' height='128' alt='' /></td>                                                                                                                                                                                   \n");
+		contentBase.append("         <td><img src='"+link+"/resources/images/mail/content_r_04.gif' width='19' height='128' alt='' /></td>                                                                                                                                                                                   \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("     </table></td>                                                                                                                                                                                                                                             \n");
 		contentBase.append("   </tr>                                                                                                                                                                                                                                                       \n");
 		contentBase.append("   <tr>                                                                                                                                                                                                                                                        \n");
-		contentBase.append("     <td align='left' valign='bottom' bgcolor='#CCCCCC'><img src='"+link+"/images/mail_img/copy.gif' width='291' height='28' alt='' /></td>                                                                                                                                                \n");
+		contentBase.append("     <td align='left' valign='bottom' bgcolor='#CCCCCC'><img src='"+link+"/resources/images/mail/copy.gif' width='291' height='28' alt='' /></td>                                                                                                                                                \n");
 		contentBase.append("   </tr>                                                                                                                                                                                                                                                       \n");
 		contentBase.append(" </table>                                                                                                                                                                                                                                                      \n");
 		contentBase.append(" </div>                                                                                                                                                                                                                                                        \n");
@@ -222,7 +222,7 @@ public class MailService {
     
     public void mailSend2(String mailSubject, String subSubject, String empNo, String empNm, String jobGradeNm, String deptNm, String recvAddress, String staDate, String endDate, String dtmNm, String staDateResult, String contents){
 		try{
-			sendEmail2(recvAddress, mailSubject, subSubject, empNo, empNm, jobGradeNm, deptNm, staDate, endDate, dtmNm, staDateResult, contents);	
+			//sendEmail2(recvAddress, mailSubject, subSubject, empNo, empNm, jobGradeNm, deptNm, staDate, endDate, dtmNm, staDateResult, contents);	
 			//WAFLogger.debug("Dtm_IU_MailSend 매일전송완료.\n");
 			//storage.addObject("mailSendMsg", "");
 		}catch(Exception e) {
@@ -286,9 +286,9 @@ public class MailService {
 		contentBase.append(" <table width='100%' border='0' cellpadding='0' cellspacing='0'>                                                                                                                                                                                               \n");
 		contentBase.append("   <tr>                                                                                                                                                                                                                                                        \n");
 		contentBase.append("     <td height='72'>                                                                                                                                                                                                                                          \n");
-		contentBase.append("     <table width='100%' border='0' cellpadding='0' cellspacing='0' background='"+link+"/images/mail_img/top_bg.gif' style='background-repeat:repeat-x;'>                                                                                                                 \n");
+		contentBase.append("     <table width='100%' border='0' cellpadding='0' cellspacing='0' background='"+link+"/resources/images/mail/top_bg.gif' style='background-repeat:repeat-x;'>                                                                                                                 \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
-		contentBase.append("         <td height='72' align='left' valign='top'><img src='"+link+"/images/mail_img/top_logo.gif' width='187' height='72' alt='SGC이테크건설' /></td>                                                                                                                            \n");
+		contentBase.append("         <td height='72' align='left' valign='top'><img src='"+link+"/resources/images/mail/top_logo.gif' width='187' height='72' alt='SGC이테크건설' /></td>                                                                                                                            \n");
 		contentBase.append("         <td width='100%'>&nbsp;</td>                                                                                                                                                                                                                          \n");
 		contentBase.append("         <td align='right' valign='top'></td>                                                                                                                                                           \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
@@ -298,9 +298,9 @@ public class MailService {
 		contentBase.append("     <td style='padding:20px;'>                                                                                                                                                                                                                                \n");
 		contentBase.append("      <table width='100%' border='0' cellpadding='0' cellspacing='0'>                                                                                                                                                                                          \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
-		contentBase.append("         <td width='19' height='46'><img src='"+link+"/images/mail_img/content_l_01.gif' width='19' height='46' alt='' /></td>                                                                                                                                                             \n");
-//		contentBase.append("         <td width='100%' style=' background-image:url("+link+"/images/mail_img/content_c.gif); background-repeat:repeat-x; font-family:돋움; font-size:12px; color:#ffffff; text-align:left;'>                                                                                    \n");
-		contentBase.append("         <td width='100%' background='"+link+"/images/mail_img/content_c.gif' style='background-repeat:repeat-x; font-family:돋움체; font-size:12px; color:#ffffff; text-align:left;'>                                                                                    \n");
+		contentBase.append("         <td width='19' height='46'><img src='"+link+"/resources/images/mail/content_l_01.gif' width='19' height='46' alt='' /></td>                                                                                                                                                             \n");
+//		contentBase.append("         <td width='100%' style=' background-image:url("+link+"/resources/images/mail/content_c.gif); background-repeat:repeat-x; font-family:돋움; font-size:12px; color:#ffffff; text-align:left;'>                                                                                    \n");
+		contentBase.append("         <td width='100%' background='"+link+"/resources/images/mail/content_c.gif' style='background-repeat:repeat-x; font-family:돋움체; font-size:12px; color:#ffffff; text-align:left;'>                                                                                    \n");
 		contentBase.append("          <table border='0' cellpadding='0' cellspacing='0' width='100%'>                                                                                                                                                                                      \n");
 		contentBase.append("           <tr>                                                                                                                                                                                                                                                \n");
 //		contentBase.append("            <td style='color:#ffffff;'>안녕하세요. <strong>"+fromDept+"  "+fromName+"</strong> 입니다.</td>                                                                                                                                                                                       \n");
@@ -309,20 +309,20 @@ public class MailService {
 		contentBase.append("           </tr>                                                                                                                                                                                                                                               \n");
 		contentBase.append("          </table>                                                                                                                                                                                                                                             \n");
 		contentBase.append("         </td>                                                                                                                                                                                                                                                 \n");
-		contentBase.append("         <td width='19'><img src='"+link+"/images/mail_img/content_r_01.gif' width='19' height='46' alt='' /></td>                                                                                                                                                                         \n");
+		contentBase.append("         <td width='19'><img src='"+link+"/resources/images/mail/content_r_01.gif' width='19' height='46' alt='' /></td>                                                                                                                                                                         \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("       <tr>                                                                                                                                                                                                                                                    \n");
-		contentBase.append("         <td height='38'><img src='"+link+"/images/mail_img/content_l_02.gif' width='19' height='38' alt='' /></td>                                                                                                                                                                        \n");
+		contentBase.append("         <td height='38'><img src='"+link+"/resources/images/mail/content_l_02.gif' width='19' height='38' alt='' /></td>                                                                                                                                                                        \n");
 		contentBase.append("         <td style=' background-color:#EFEFEF; font-family:돋움체; font-size:12px; color:#5274ea; text-align:left; line-height:20px;'><strong>"+subSubject+"</strong> 관련하여 사전 안내드립니다. </td>                        \n");
-		contentBase.append("         <td><img src='"+link+"/images/mail_img/content_r_02.gif' width='19' height='38' alt='' /></td>                                                                                                                                                                                    \n");
+		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+"/images/mail_img/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</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; font-size:12px; color:#5274ea; font-family:돋움체; line-height:20px;'><pre><strong>"+mailContent+"</string></pre></td>                                                                                                                     \n");
-//		contentBase.append("         <td background='"+link+"/images/mail_img/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</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");
-		contentBase.append("          <td background='"+link+"/images/mail_img/content_l_02_new.gif' style=' background-repeat:repeat-y;'>&nbsp;</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; font-size:12px; color:#5274ea; font-family:돋움체; line-height:20px;'><pre>				\n");
 		contentBase.append("			<table width='600' border='1' cellpadding='1' cellspacing='1'>			\n");
 		contentBase.append("			<tr>																	\n");
@@ -354,23 +354,23 @@ public class MailService {
 		contentBase.append("			</table>																\n");
 		contentBase.append("			\n"+contents+"				\n");
 		contentBase.append("		 </pre></td>                                                                \n");
-		contentBase.append("         <td background='"+link+"/images/mail_img/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</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");
-		contentBase.append("         <td background='"+link+"/images/mail_img/content_l_02_new.gif' style='background-repeat:repeat-y;'>&nbsp;</td>                                                                                                                                                      \n");
-		contentBase.append("         <td align='center' valign='middle' style='padding-top:15px; padding-bottom:15px; border-top:#CCC solid 1px;'><a href='http://ehr.sgcetec.co.kr:8082'><img src='"+link+"/images/mail_img/btn_site.gif' alt='사이트접속하기' width='145' height='28' border='0' /></a></td>                              \n");
-		contentBase.append("         <td background='"+link+"/images/mail_img/content_r_02_new.gif' style='background-color:#EFEFEF;  background-repeat:repeat-y;'>&nbsp;</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 align='center' valign='middle' style='padding-top:15px; padding-bottom:15px; border-top:#CCC solid 1px;'><a href='http://ehr.sgcetec.co.kr:8082'><img src='"+link+"/resources/images/mail/btn_site.gif' alt='사이트접속하기' width='145' height='28' border='0' /></a></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");
-		contentBase.append("         <td><img src='"+link+"/images/mail_img/content_l_04.gif' width='19' height='128' alt='' /></td>                                                                                                                                                                                   \n");
-		contentBase.append("         <td align='left' valign='top' background='"+link+"/images/mail_img/sign_c.gif' style='background-repeat:repeat-x; text-align:left'>                                                                                                                              \n");
+		contentBase.append("         <td><img src='"+link+"/resources/images/mail/content_l_04.gif' width='19' height='128' alt='' /></td>                                                                                                                                                                                   \n");
+		contentBase.append("         <td align='left' valign='top' background='"+link+"/resources/images/mail/sign_c.gif' style='background-repeat:repeat-x; text-align:left'>                                                                                                                              \n");
 		contentBase.append("          <table width='800' border='0' cellpadding='0' cellspacing='0'>                                                                                                                                                                                       \n");
 		contentBase.append("           <tr>                                                                                                                                                                                                                                                \n");
-		contentBase.append("             <td colspan='2'><img src='"+link+"/images/mail_img/sign_logo.gif' width='300' height='50' alt='We build your dream SGC이테크건설' /></td>                                                                                                                             \n");
+		contentBase.append("             <td colspan='2'><img src='"+link+"/resources/images/mail/sign_logo.gif' width='300' height='50' alt='We build your dream SGC이테크건설' /></td>                                                                                                                             \n");
 		contentBase.append("             </tr>                                                                                                                                                                                                                                             \n");
 		contentBase.append("           <tr>                                                                                                                                                                                                                                                \n");
-		contentBase.append("             <td width='36' height='22' align='center' valign='middle'><img src='"+link+"/images/mail_img/sign_icon.gif' width='13' height='13' alt='' /></td>                                                                                                                             \n");
+		contentBase.append("             <td width='36' height='22' align='center' valign='middle'><img src='"+link+"/resources/images/mail/sign_icon.gif' width='13' height='13' alt='' /></td>                                                                                                                             \n");
 		contentBase.append("             <td width='*' style='font-size:12px; color:#676767; font-family:돋움체; line-height:20px;'>"+fromDept+"&nbsp;&nbsp;&nbsp;"+fromDuty+"&nbsp;&nbsp;"+fromName+"</td>                                                                        \n");
 		contentBase.append("           </tr>                                                                                                                                                                                                                                               \n");
 		contentBase.append("           <tr>                                                                                                                                                                                                                                                \n");
@@ -383,12 +383,12 @@ public class MailService {
 		contentBase.append("           </tr>                                                                                                                                                                                                                                               \n");
 		contentBase.append("                                                                                                                                                                                                                                                               \n");
 		contentBase.append("         </table></td>                                                                                                                                                                                                                                         \n");
-		contentBase.append("         <td><img src='"+link+"/images/mail_img/content_r_04.gif' width='19' height='128' alt='' /></td>                                                                                                                                                                                   \n");
+		contentBase.append("         <td><img src='"+link+"/resources/images/mail/content_r_04.gif' width='19' height='128' alt='' /></td>                                                                                                                                                                                   \n");
 		contentBase.append("       </tr>                                                                                                                                                                                                                                                   \n");
 		contentBase.append("     </table></td>                                                                                                                                                                                                                                             \n");
 		contentBase.append("   </tr>                                                                                                                                                                                                                                                       \n");
 		contentBase.append("   <tr>                                                                                                                                                                                                                                                        \n");
-		contentBase.append("     <td align='left' valign='bottom' bgcolor='#CCCCCC'><img src='"+link+"/images/mail_img/copy.gif' width='291' height='28' alt='' /></td>                                                                                                                                                \n");
+		contentBase.append("     <td align='left' valign='bottom' bgcolor='#CCCCCC'><img src='"+link+"/resources/images/mail/copy.gif' width='291' height='28' alt='' /></td>                                                                                                                                                \n");
 		contentBase.append("   </tr>                                                                                                                                                                                                                                                       \n");
 		contentBase.append(" </table>                                                                                                                                                                                                                                                      \n");
 		contentBase.append(" </div>                                                                                                                                                                                                                                                        \n");