Kakao i Connect Message::BizMessage(ENG)::BizMessage Agent::Sending XMS(SMS/LMS/MMS)

페이지 이동경로

Sending XMS(SMS/LMS/MMS)

You can send XMS (SMS/LMS/MMS) to domestic users. If you have a separate contract for international XMS delivery, you can send international XMS through ISM or ILM.

NOTE

Sending SMS

To create SMS data, enter the data into the table in the xms_message of the agent.ini file > [TABLE] section. The main columns of the INSERT statement are as follows.

코드예제Sample Code of Sending SMS

INSERT INTO XMS_MESSAGE (
                        KKO_MSG,
                        PHONE_MSG,
                        MSG_TYPE,
                        MOBILE_NO,
                        SENDER_NO,
                        RESERVE_DATE,
                        REG_DATE,
                        IMG_ATTACH_CD)
VALUES (,
       'Data to send an SMS ',
       'SM', # Message type, [SM , LM, MM]
       01011112222, # Recipients number needs to be changed.
       01011112222, # Senders number needs to be changed.
       now(), # If future time is input, the message will be sent later.
       now(),
       'N');

Sending LMS

To create LMS data, enter the data into the table in the xms_message of the agent.ini file > [TABLE] section. The main columns of the INSERT statement are as follows.

코드예제Sample Code of Sending LMS

INSERT INTO XMS_MESSAGE (
                        KKO_MSG,
                        PHONE_MSG,
                        MSG_TYPE,
                        MOBILE_NO,
                        SENDER_NO,
                        RESERVE_DATE,
                        REG_DATE,
                        IMG_ATTACH_CD)
VALUES (
       'LMS  title',
       'Data to send an LMS ',
       'LM',  # message typw, [SM , LM, MM]
       01011112222, # Recipients number needs to be changed.
       01011112222, # Senders number needs to be changed.
       now(), # If future time is input, the message will be sent later.
       now(),
       'N');

Sending MMS

To create MMS data, enter the data into the table in the xms_message of the agent.ini file > [TABLE] section. The main columns of the INSERT statement are as follows.

코드예제Sample Code of Sending MMS

INSERT INTO XMS_MESSAGE (
                        TITLE,
                        PHONE_MSG,
                        MSG_TYPE,
                        MOBILE_NO,
                        SENDER_NO,
                        RESERVE_DATE,
                        REG_DATE,
                        MMS_IMG1,
                        IMG_ATTACH_CD)
VALUES (
      'MMS title',
      'test data for sending MMS',
      'MM',  # Message type, [SM , LM, MM]
      01011112222, # Recipients number needs to be changed.
      01011112222, # Senders number needs to be changed.
      now(),  # If future time is input, the message will be sent later.
      now(),
      '/test/img.jpeg',
      'M');   #  When attaching an image, input M. This will be automatically changed to Y when loading is complete.

Sending ISM(International SMS)

To create IMS data, enter the data into the table in the xms_message of the agent.ini file > [TABLE] section. The main columns of the INSERT statement are as follows.

NOTE
Sending ISM (International SMS) messages requires a separate contract.

코드예제Sample Code of Sending ISM

INSERT INTO XMS_MESSAGE (
                        KKO_MSG,
                        PHONE_MSG,
                        MSG_TYPE,
                        MOBILE_NO,
                        SENDER_NO,
                        RESERVE_DATE,
                        REG_DATE,
                        IMG_ATTACH_CD)
VALUES (,
       'test data for sending SMS',
       'ISM', # Message type, [SM, LM, MM]
       01011112222, # Recipients number needs to be changed.
       01011112222, # Senders number needs to be changed.
       now(), # If future time is input, the message will be sent later.
       now(),
       'N');

Sending ILM(Internationa LMS)

To create ILM data, enter the data into the table in the xms_message of the agent.ini file > [TABLE] section. The main columns of the INSERT statement are as follows.

NOTE
Sending ILM messages requires a separate contract.

코드예제Sample Code of Sending ILM


INSERT INTO XMS_MESSAGE (
                        KKO_MSG,
                        PHONE_MSG,
                        MSG_TYPE,
                        MOBILE_NO,
                        SENDER_NO,
                        RESERVE_DATE,
                        REG_DATE,
                        IMG_ATTACH_CD)
VALUES (
       'ILMS test title',
       'test data for sending ILMS',
       'ILM',  # Message type, [SM, LM, MM]
       01011112222, # Recipients number needs to be changed.
       01011112222, # Senders number needs to be changed.
       now(), # If future time is input, the message will be sent later.
       now(),
       'N');

이 문서가 만족스러운 이유를 알려주세요.
이 문서에 아쉬운 점을 알려주세요.
평가해주셔서 감사합니다.

더 자세한 의견은 contact.dkt@kakaocorp.com 으로 제보해주세요.