private boolean sendSMSconf(SendMessageVO smvo) {
    VbyP.accessLog("send Admin Start");
    StopWatch sw = new StopWatch();
    sw.play();

    Connection conn = null;
    ISend send = SendManager.getInstance();
    UserInformationVO uvo = null;
    LogVO lvo = null;
    try {

      conn = VbyP.getDB();

      uvo = new UserInformationVO();
      uvo.setUser_id("admin");

      VbyP.accessLog(" - Admin");

      if (getMode(smvo).equals("SMS") && !SLibrary.isNull(VbyP.getValue("useOnlySMSLine"))) {
        uvo.setLine(VbyP.getValue("useOnlySMSLine"));
        VbyP.accessLog(" - change line : " + VbyP.getValue("useOnlySMSLine"));
      } else if (getMode(smvo).equals("LMS") && !SLibrary.isNull(VbyP.getValue("useOnlyLMSLine"))) {
        uvo.setLine(VbyP.getValue("useOnlyLMSLine"));
        VbyP.accessLog(" - change line : " + VbyP.getValue("useOnlyLMSLine"));
      } else if (getMode(smvo).equals("MMS") && !SLibrary.isNull(VbyP.getValue("useOnlyMMSLine"))) {
        uvo.setLine(VbyP.getValue("useOnlyMMSLine"));
        VbyP.accessLog(" - change line : " + VbyP.getValue("useOnlyMMSLine"));
      } else {
        VbyP.accessLog(" - line : " + uvo.getLine());
      }

      smvo.setReqIP(FlexContext.getHttpRequest().getRemoteAddr());

      sendLogWrite(smvo);
      lvo = send.send(conn, uvo, smvo);

      Gv.removeStatus(uvo.getUser_id());

    } catch (Exception e) {

      if (lvo == null) lvo = new LogVO();
      lvo.setIdx(0);
      lvo.setMessage(e.getMessage());

      System.out.println(e.toString());
    } finally {
      close(conn);
    }
    VbyP.accessLog(
        "send End : "
            + sw.getTime()
            + " sec, "
            + lvo.getUser_id()
            + ", "
            + lvo.getMode()
            + ", "
            + lvo.getCnt()
            + " count");
    return lvo.getIdx() >= 0 ? true : false;
  }
  private String getMode(SendMessageVO smvo) {

    String mode = "SMS";
    if (!SLibrary.isNull(smvo.getImagePath())) mode = "MMS";
    else if (SLibrary.getByte(smvo.getMessage()) > SendManager.SMS_BYTE) mode = "LMS";
    return mode;
  }