Class MmsTool

java.lang.Object
io.github.enxign.shed.msg.MmsTool

public class MmsTool extends Object
MmsTool
Since:
2021-02-01
Version:
1.0
 수정일        수정자       수정내용
 ----------   ---------   -------------------------------
 2021-02-01   first       create
 
Author:
enxign
  • Constructor Details

    • MmsTool

      public MmsTool(String sendApi, String cancelApi, String charset)
      생성자
      Parameters:
      sendApi - 전송 API URL
      cancelApi - 취소 API URL
      charset - character set
  • Method Details

    • cancel

      public String cancel(String userid, String msgid) throws Exception
      발송 문자 취소
      Parameters:
      userid - 사용자 ID
      msgid - 메시지 ID
      Returns:
      취소 결과
      Throws:
      Exception - 예외처리
    • send

      public String send(String userid, String callback, String phone, String msg, String names, String appdate, String subject, String filePath) throws Exception
      문자 발송
      Parameters:
      userid - 사용자 ID
      callback - 콜백 번호
      phone - 수신 전화번호
      msg - 메시지 내용
      names - 수신자 이름
      appdate - 예약 발송 날짜
      subject - 제목
      filePath - 첨부 파일 경로
      Returns:
      발송 결과
      Throws:
      Exception - 예외처리