Class SendReport


  • @Service
    @PropertySource("classpath:properties/sender.properties")
    public class SendReport
    extends java.lang.Object
    파일을 메일로 발송함
    Version:
    1.0
    Author:
    WooYoung Lee, Yeonhee Kim
    • Constructor Summary

      Constructors 
      Constructor Description
      SendReport()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void sendMail​(java.io.File file, java.lang.String filename, java.lang.String email)
      전사데이터 파일(docx/xlsx/json)을 메일로 전송하는 메소드
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SendReport

        public SendReport()
    • Method Detail

      • sendMail

        public void sendMail​(java.io.File file,
                             java.lang.String filename,
                             java.lang.String email)
                      throws java.lang.Exception
        전사데이터 파일(docx/xlsx/json)을 메일로 전송하는 메소드
        Parameters:
        file - 파일
        filename - 파일 이름
        email - 이메일 정보
        Throws:
        java.lang.Exception - 예외처리